Skip to content

Commit

Permalink
Exclude netcdf4 version 1.7.1 due to buggy behaviour. See discussion on
Browse files Browse the repository at this point in the history
Unidata/netcdf4-python#1343.

Additionally because of not using 1.7.1 netcdf (which adds support for np>=2 compatibility) restrict numpy to <2.

PiperOrigin-RevId: 673435320
  • Loading branch information
Nush395 authored and Torax team committed Sep 11, 2024
1 parent eaa6f3e commit 88029f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@ dependencies = [
"equinox @ git+https://github.com/patrick-kidger/equinox@1e601672d38d2c4d483535070a3572d8e8508a20",
"PyYAML>=6.0.1",
"xarray>=2023.12.0",
"netcdf4>=1.6.5",
"netcdf4>=1.6.5,<1.7.1",
"h5netcdf>=1.3.0",
"scipy>=1.12.0",
"jaxtyping>=0.2.28",
"numpy<2.0.0",
]

[project.urls]
Expand Down

0 comments on commit 88029f6

Please sign in to comment.