File tree Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -212,6 +212,26 @@ run-mypy = "mypy src"
212212run-hypothesis = " pytest --hypothesis-profile ci tests/test_properties.py tests/test_store/test_stateful*"
213213list-env = " pip list"
214214
215+ [tool .hatch .envs .downstream ]
216+ python = " 3.13"
217+ dependencies = [
218+ ' xarray @ git+https://github.com/pydata/xarray.git' , # TODO from main until xarray>2024.11.0
219+ ' numpy' ,
220+ ' numcodecs' ,
221+ ' typing_extensions' ,
222+ ' donfig' ,
223+ # test deps
224+ ' hypothesis' ,
225+ ' pytest' ,
226+ ' pytest-cov' ,
227+ ' pytest-asyncio' ,
228+ ]
229+
230+ [tool .hatch .envs .downstream .scripts ]
231+ run = " pytest --verbose"
232+ run-mypy = " mypy src"
233+ list-env = " pip list"
234+
215235[tool .hatch .envs .min_deps ]
216236description = """ Test environment for minimum supported dependencies
217237
Original file line number Diff line number Diff line change @@ -62,5 +62,8 @@ def dataset(
6262
6363def test_roundtrip (store : zarr .abc .store .Store , dataset : xr .Dataset ) -> None :
6464 dataset .to_zarr (store )
65- other_dataset = xr .open_dataset (store )
65+ other_dataset = xr .open_dataset (store , engine = "zarr" )
66+ assert dataset .identical (other_dataset )
67+
68+ other_dataset = xr .open_zarr (store )
6669 assert dataset .identical (other_dataset )
You can’t perform that action at this time.
0 commit comments