Skip to content

[WIP] Upgrade Pandas to 3.0#106

Open
joefutrelle wants to merge 4 commits into
masterfrom
pandas3
Open

[WIP] Upgrade Pandas to 3.0#106
joefutrelle wants to merge 4 commits into
masterfrom
pandas3

Conversation

@joefutrelle
Copy link
Copy Markdown
Owner

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:

  • Updated the supported Python versions in both GitHub Actions workflows (.github/workflows/pip-installation.yml and .github/workflows/python-package.yml) to test against Python 3.11, 3.12, and 3.13, dropping support for 3.10. [1] [2]
  • Set the minimum required Python version for the package to 3.11 in pyproject.toml.

Dependency Management:

  • Changed the dependencies in pyproject.toml from 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.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread pyproject.toml
Comment thread pyproject.toml Outdated
"pysmb==1.2.10",
"smbprotocol==1.15.0",
"pyyaml==6.0.2"
"numpy>=1.26,<3",
Copy link

Copilot AI Feb 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot open a new pull request to apply changes based on this feedback

Comment thread pyproject.toml
Copy link
Copy Markdown

Copilot AI commented Feb 17, 2026

@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.

Copilot AI and others added 2 commits February 17, 2026 13:33
Co-authored-by: joefutrelle <2365298+joefutrelle@users.noreply.github.com>
Align numpy upper bound with Pandas 3.0 requirements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants