-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dependencies to allow pandas 2.2 and improve performance #187
Conversation
zaneselvans
commented
Jan 20, 2024
•
edited
Loading
edited
- Allow use of pandas 2.2
- Require pyarrow, which will be required by pandas 3.0, and now raises a deprecation warning. Should also improve string performance in some use cases.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #187 +/- ##
=======================================
Coverage 93.44% 93.44%
=======================================
Files 8 8
Lines 610 610
=======================================
Hits 570 570
Misses 40 40 ☔ View full report in Codecov by Sentry. |
- Allow use of pandas 2.2 - Require pyarrow, which will be required in pandas 3.0 and now raises a deprecation warning if it is not available. Should also improve string performance in some use cases.
82af906
to
ea584da
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most of the changes in here are because my TOML linter went to town.
- pip>=21.0,<24 | ||
- pip>=21.0 | ||
- python>=3.10,<3.13 | ||
- setuptools>=66,<69 | ||
- setuptools>=66 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unnecessarily restrictive.
"setuptools_scm[toml]>=3.5.0", | ||
"wheel", | ||
] | ||
requires = ["setuptools>=66", "setuptools_scm[toml]>=3.5.0", "wheel"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Allow most recent version of setuptools.
"pydantic>=2,<3", | ||
"coloredlogs>=14.0,<15.1", | ||
"arelle-release>=2.3,<3", | ||
"coloredlogs>=14.0,<15.1", | ||
"frictionless>=4.4,<5", | ||
"lxml>=4.9.1,<6", | ||
"numpy>=1.16,<2", | ||
"pandas>=1.5,<3", | ||
"pyarrow>=14.0.1", # required starting in pandas 3.0 | ||
"pydantic>=2,<3", | ||
"sqlalchemy>=1.4,<3", | ||
"pandas>=1.5,<2.2", | ||
"stringcase>=1.2,<2", | ||
"numpy>=1.16,<2", | ||
"lxml>=4.9.1,<6", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only real changes here are allowing pandas 2.2 and requiring pyarrow.