[WIP] Upgrade Pandas to 3.0#106
Conversation
There was a problem hiding this comment.
Pull request overview
This pull request updates Python version support and modernizes dependency management to prepare for Pandas 3.0 compatibility. The changes affect critical infrastructure configuration and dependency specifications, though the PR is marked as work-in-progress.
Changes:
- Updated Python version support from 3.10-3.12 to 3.11-3.13 in CI workflows and package requirements
- Changed all dependencies from pinned versions to version ranges with minimum and maximum bounds
- Added explicit NumPy dependency and upgraded Pandas from 2.2.3 to 3.0.0
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| pyproject.toml | Updated Python requirement to >=3.11, converted all dependencies to version ranges, added numpy explicitly, upgraded pandas to >=3.0.0 |
| .github/workflows/python-package.yml | Updated test matrix to Python 3.11, 3.12, 3.13 |
| .github/workflows/pip-installation.yml | Updated test matrix to Python 3.11, 3.12, 3.13 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "pysmb==1.2.10", | ||
| "smbprotocol==1.15.0", | ||
| "pyyaml==6.0.2" | ||
| "numpy>=1.26,<3", |
There was a problem hiding this comment.
The upper bound for numpy is set to "<3", which allows numpy 2.x. However, Pandas 3.0 requires NumPy >= 1.26.0 and < 2.3, according to Pandas documentation. The upper bound should be adjusted to "<2.3" to align with Pandas 3.0's requirements and avoid potential compatibility issues.
There was a problem hiding this comment.
@copilot open a new pull request to apply changes based on this feedback
|
@joefutrelle I've opened a new pull request, #108, to work on those changes. Once the pull request is ready, I'll request review from you. |
Co-authored-by: joefutrelle <2365298+joefutrelle@users.noreply.github.com>
Align numpy upper bound with Pandas 3.0 requirements
This pull request updates the project's Python version support and modernizes dependency management to ensure compatibility with newer Python releases. The most important changes are grouped below:
Python Version Support:
.github/workflows/pip-installation.ymland.github/workflows/python-package.yml) to test against Python 3.11, 3.12, and 3.13, dropping support for 3.10. [1] [2]pyproject.toml.Dependency Management:
pyproject.tomlfrom strict pinned versions to version ranges, allowing for greater flexibility and compatibility with future releases. Most dependencies now specify a minimum version and an upper bound.