Skip to content

Commit fecd8e9

Browse files
authored
Bump to pandas 2.2.3 (#1013)
1 parent 668292f commit fecd8e9

File tree

2 files changed

+5
-34
lines changed

2 files changed

+5
-34
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ numpy = ">= 1.23.5"
3434

3535
[tool.poetry.group.dev.dependencies]
3636
mypy = "1.10.1"
37-
pandas = "2.2.2"
37+
pandas = "2.2.3"
3838
pyarrow = ">=10.0.1"
3939
pytest = ">=7.1.2"
40-
pyright = ">= 1.1.374"
40+
pyright = ">= 1.1.383"
4141
poethepoet = ">=0.16.5"
4242
loguru = ">=0.6.0"
4343
typing-extensions = ">=4.4.0"

tests/test_utility.py

Lines changed: 3 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,13 @@
1-
from contextlib import (
2-
AbstractContextManager,
3-
nullcontext,
4-
)
5-
import platform
6-
71
import pandas as pd
8-
import pytest
92
from typing_extensions import assert_type
103

11-
from tests import (
12-
NUMPY20,
13-
PD_LTE_22,
14-
check,
15-
pytest_warns_bounded,
16-
)
4+
from tests import check
175

186

197
def test_show_version():
208
"""Test show_versions method types with split case for pandas and python versions."""
21-
if PD_LTE_22:
22-
context: AbstractContextManager = nullcontext()
23-
# distutils warning is only raised with pandas<3.0.0
24-
if NUMPY20: # https://github.com/PyTables/PyTables/issues/1172
25-
context = pytest.raises(ValueError)
26-
with (
27-
pytest_warns_bounded(
28-
UserWarning,
29-
match="Setuptools is replacing distutils",
30-
upper="3.11.99",
31-
version_str=platform.python_version(),
32-
),
33-
context,
34-
):
35-
check(assert_type(pd.show_versions(True), None), type(None))
36-
check(assert_type(pd.show_versions(False), None), type(None))
37-
else:
38-
check(assert_type(pd.show_versions(True), None), type(None))
39-
check(assert_type(pd.show_versions(False), None), type(None))
9+
check(assert_type(pd.show_versions(True), None), type(None))
10+
check(assert_type(pd.show_versions(False), None), type(None))
4011

4112

4213
def test_dummies():

0 commit comments

Comments
 (0)