Skip to content

Commit

Permalink
add upper pin on numpy until xclim supports it
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeitsperre committed Jul 4, 2024
1 parent 51d80fe commit ab3b619
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ci/requirements/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ dependencies:
- importlib-metadata <8.0.0 # Pin needed for esmpy compatibility. See: https://github.com/pangeo-data/xESMF/issues/374
- nc-time-axis >=1.4.0
- numba >=0.52
- numpy >=1.25.0
- numpy >=1.25.0,<2.0.0 # Pin below v2.0.0 until xclim supports it.
- xclim
- xesmf
- xrft
4 changes: 2 additions & 2 deletions ci/requirements/maximum-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ dependencies:
- eofs
# - esmpy =*=mpi* # Ensures MPI works with version of esmpy. # Commented out for CI testing.
- h5netcdf
- importlib-metadata <8.0.0 # Pin needed for esmpy compatibility. See: https://github.com/pangeo-data/xESMF/issues/374
- importlib-metadata <8.0.0 # Pin needed for esmpy compatibility. See: https://github.com/pangeo-data/xESMF/issues/374
- matplotlib-base
- nc-time-axis >=1.4.0
- numpy >=1.25.0
- numpy >=1.25.0,<2.0.0 # Pin below v2.0.0 until xclim supports it.
- pip
- pooch
- pytest <8.0.0
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ dynamic = ["version", "description"]

[project.optional-dependencies]
accel = ["numba >=0.52", "bottleneck"]
bias-correction = ["xclim >=0.46", "bias-correction >=0.4"]
bias-correction = ["xclim >=0.46", "bias-correction >=0.4", "numpy >=1.25.0,<2.0.0"] # pinned until xclim supports numpy>=2.0.0
io = ["netcdf4"] # use h5netcdf when encountering seg faults as in GitHub Actions CI
regridding = ["xesmf"] # for installation see https://pangeo-xesmf.readthedocs.io/
relative_entropy = ["eofs"]
Expand Down

0 comments on commit ab3b619

Please sign in to comment.