-
-
Notifications
You must be signed in to change notification settings - Fork 5
fix(dependencies): 🐛 update numpy version constraint in pyproject.toml and uv.lock #131
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
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
🧩 Analysis chain
🌐 Web query:
geopandas NumPy 2.x compatibility support latest release💡 Result:
Yes — current GeoPandas releases support NumPy 2.x. GeoPandas 1.2 (latest series) sets numpy 2.0 as the minimum tested/required NumPy version; earlier maintenance releases also added/updated compatibility notes for the upcoming NumPy 2.0 transition. [1][2]
Sources:
🌐 Web query:
fiona NumPy 2.x compatibility support latest release💡 Result:
Short answer: Fiona itself began adapting for NumPy 2.x in the 1.10 pre‑releases (1.10a1) and related fixes; downstream projects (e.g., GeoPandas) also made explicit compatibility fixes for NumPy 2.0 when updating to work with Fiona 1.10. See Fiona 1.10a1 / PyPI notes and the GeoPandas changelog mention. [1][2][3]
Sources
If you want, I can: (a) check the very latest Fiona release tag/wheels (Dec 2025) and confirm explicit NumPy 2.x support, or (b) give exact pip/conda install pins that are known to work with NumPy 2.x in your environment.
🌐 Web query:
rioxarray NumPy 2.x compatibility support latest release💡 Result:
Yes — rioxarray added NumPy 2.x support in the 0.20.0 release. See the rioxarray history/changelog entry noting "DEP: numpy 2+" for 0.20.0. [1][2]
Sources:
🌐 Web query:
xarray NumPy 2.x compatibility support latest release💡 Result:
Yes — xarray added NumPy 2.x compatibility in 2024 (compatibility listed in the 2024.03.0 / 2024.06.0 release notes). [1][2]
References:
🌐 Web query:
netcdf4 NumPy 2.x compatibility support latest release💡 Result:
Short answer: As of the latest netcdf4‑python release (v1.7.3, published Oct 13, 2025) there is not an explicit statement in the netcdf4 changelog that netcdf4 wheels are built for NumPy 2.x; users still report binary‑compatibility warnings when netcdf4 was built against a different NumPy ABI. The related cftime package does list NumPy 2.0 compatibility (added June 2024), but netcdf4 may require rebuilt wheels (or a release explicitly built against NumPy 2) to be fully NumPy‑2‑compatible. See sources below.
Sources:
References
[1] https://github.com/Unidata/netcdf4-python
[2] https://zenodo.org/records/17343529
[3] Unidata/netcdf4-python#1354
[4] https://pypi.org/project/cftime/
NumPy 2.x compatibility blocked by netcdf4-python; add upper bound or verify wheels.
Switching from
"numpy<2"to"numpy>=1.26"(Line 41) allows NumPy 2.x. Most dependencies in this project's geo/science stack—geopandas (1.2+), fiona (1.10+), rioxarray (0.20+), and xarray (2024.03+)—explicitly support NumPy 2.x. However, netcdf4-python (latest v1.7.3, Oct 2025) has no published wheels built against NumPy 2.x and users report binary-compatibility warnings. Either (a) constrain to"numpy>=1.26,<2"until netcdf4 releases NumPy 2-compatible wheels, or (b) document and test that pre-built netcdf4 wheels work acceptably in your CI matrix against NumPy 2.x.🤖 Prompt for AI Agents