Skip to content

Add minimum version constraints for unpinned dependencies - #548

Open
ecomodeller wants to merge 1 commit into
mainfrom
add-minimum-dependency-versions
Open

Add minimum version constraints for unpinned dependencies#548
ecomodeller wants to merge 1 commit into
mainfrom
add-minimum-dependency-versions

Conversation

@ecomodeller

@ecomodellerecomodeller commented Dec 23, 2025

Copy link
Copy Markdown
Member

Summary

This PR adds minimum version constraints for all previously unpinned dependencies. All versions have been tested to ensure that the full test suite (589 tests) and mypy type checking pass on Python 3.13.

Minimum Dependency Versions

PackageMinimum VersionRelease Date
matplotlib3.9.02024-05-15
xarray2023.1.02023-01-18
netCDF41.7.22024-10-22
scipy1.14.12024-08-21
jinja23.0.02021-05-11
pytest7.0.02022-02-04
pytest-cov4.0.02022-09-28
openpyxl3.1.02023-01-31
dask2023.1.02023-01-13
geopandas0.14.02023-09-15
types-PyYAML6.0.122022-09-27

Notes

  • Older versions (e.g., matplotlib 3.5-3.8, scipy 1.10) failed to build on Python 3.13 due to missing pre-built wheels and build system incompatibilities
  • The constraints ensure users have tested, working versions while not being overly restrictive

Tested all unpinned dependencies to find minimum versions where all
tests (589 passed) and mypy checks succeed on Python 3.13.
Updated dependencies with minimum versions:
- matplotlib >= 3.9.0
- xarray >= 2023.1.0
- netCDF4 >= 1.7.2
- scipy >= 1.14.1
- jinja2 >= 3.0.0
- pytest >= 7.0.0
- pytest-cov >= 4.0.0
- openpyxl >= 3.1.0
- dask >= 2023.1.0
- geopandas >= 0.14.0
- types-PyYAML >= 6.0.12
Sign up for freeto 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.

1 participant

@ecomodeller