Skip to content

Commit

Permalink
Support pandas 2 (#138)
Browse files Browse the repository at this point in the history
* Test compatibility with pandas 2.2.2

* Test only major versions of pandas

* Update suggested version for urllib3

Co-authored-by: Aki Ariga <[email protected]>

---------

Co-authored-by: Aki Ariga <[email protected]>
  • Loading branch information
tung-vu-td and chezou authored Sep 17, 2024
1 parent 0ed76b4 commit 39550b8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,10 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10", "3.11"]
pandas-version: ["1.3.5", "1.4.4", "1.5.3"]
pandas-version: ["1.5.3", "2.2.2"]
exclude:
- python-version: "3.10"
pandas-version: "1.3.5"
- python-version: "3.10"
pandas-version: "1.4.4"
- python-version: "3.8"
pandas-version: "2.2.2"


steps:
Expand Down
5 changes: 2 additions & 3 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ def lint(session):
[
(python, pandas)
for python in ("3.8", "3.9", "3.10", "3.11")
for pandas in ("1.3.5", "1.4.4", "1.5.3")
if (python, pandas) != ("3.10", "1.3.5")
if (python, pandas) != ("3.10", "1.4.4")
for pandas in ("1.5.3", "2.2.2")
if (python, pandas) != ("3.8", "2.2.2")
],
)
def tests(session, python, pandas):
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ classifiers =
packages = find:
python_requires = >=3.7,<3.12
install_requires =
urllib3~=1.26,>=1.21.1
urllib3>=1.21.1
presto-python-client>=0.6.0
pandas>=1.3,<1.6
pandas>=1.3
td-client>=1.1.0
pytz>=2018.5
numpy<1.24
Expand Down

0 comments on commit 39550b8

Please sign in to comment.