Skip to content

Commit 49ef0e2

Browse files
committed
added extra : pip install anemoi-dataset[zarr2]
1 parent edd4fb1 commit 49ef0e2

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

pyproject.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,14 @@ dependencies = [
5252
"cfunits",
5353
"glom",
5454
"jsonschema",
55-
"numcodecs<0.16", # Until we move to zarr3
5655
"numpy",
5756
"pytest>=8.4.1",
5857
"pytest-xdist>=3.7",
5958
"pyyaml",
6059
"ruamel-yaml",
6160
"semantic-version",
6261
"tqdm",
63-
"zarr", # will use zarr3 for python >=3.11
62+
"zarr",
6463
]
6564

6665
optional-dependencies.all = [
@@ -118,6 +117,11 @@ optional-dependencies.xarray = [
118117
"s3fs",
119118
]
120119

120+
optional-dependencies.zarr2 = [
121+
"numcodecs<0.16",
122+
"zarr<3",
123+
]
124+
121125
urls.Changelog = "https://github.com/ecmwf/anemoi-datasets/CHANGELOG.md"
122126

123127
urls.Documentation = "https://anemoi-datasets.readthedocs.io/"

0 commit comments

Comments
 (0)