Skip to content

Commit

Permalink
pin numpy below v2.0 for netcdf4 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeitsperre committed Sep 18, 2024
1 parent 0d36dc8 commit 5c6428b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions environment-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ dependencies:
- fsspec
- geopandas
- h5netcdf
- h5py <3.11 # writting and reading with engine h5netcdf was broken
- h5py <3.11 # writing and reading with engine h5netcdf was broken
- intake-esm >=2023.07.07
- matplotlib >=3.6
- netCDF4 <1.7 # writting and reading with engine h5netcdf was broken
- netCDF4 <1.7 # writing and reading with engine h5netcdf was broken
- numcodecs
- numpy >=1.24
- numpy >=1.24,<2.0 # v2.0 is not supported by python-netcdf4
- pandas >=2.2
- parse
- pyyaml
Expand Down
6 changes: 3 additions & 3 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ dependencies:
- fsspec
- geopandas
- h5netcdf
- h5py <3.11
- h5py <3.11 # writing and reading with engine h5netcdf was broken
- intake-esm >=2023.07.07
- matplotlib >=3.6
- netCDF4 <1.7
- netCDF4 <1.7 # writing and reading with engine h5netcdf was broken
- numcodecs
- numpy >=1.24
- numpy >=1.24,<2.0 # v2.0 is not supported by python-netcdf4
- pandas >=2.2
- parse
- pyyaml
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ dependencies = [
"matplotlib >=3.6",
"netCDF4 <1.7",
"numcodecs",
"numpy >=1.24",
"numpy >=1.24,<2.0", # v2.0 is not supported by python-netcdf4
"pandas >=2.2",
"parse",
# Used when opening catalogs.
Expand Down

0 comments on commit 5c6428b

Please sign in to comment.