Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
* Reformatted code and fixed linter issues.
* Added `environment.yml` to setup a conda/mamba development environment.
* Updated copyright notice.

* Changed the development dependency from `h5netcdf` to `h5netcdf[h5py]`
to ensure the HDF5 backend required by NetCDF tests is installed and
constrained `xarray` to `<2026.4` to retain compatibility with
the Zarr 2. (#110)

## Version 0.8.0 (from 2024-10-04)

Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
- numcodecs
- numpy
- pyyaml
- xarray
- xarray <2026.4 # constrain to <2026.4 to retain compatibility with zarr 2.
- zarr >=2.18,<3
# Dev Dependencies
- isort
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dependencies = [
"numcodecs",
"numpy",
"pyyaml",
"xarray",
"xarray <2026.4", # constrain to <2026.4 to retain compatibility with zarr 2.
"zarr >=2,<3"
]

Expand All @@ -50,7 +50,7 @@ dev = [
"isort",
"pytest",
"pytest-cov",
"h5netcdf",
"h5netcdf[h5py]",
"s3fs",
"scipy",
"pyproj",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_xrencoding.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def test_overlapping_chunks_in_data_and_encoding_raises(self):
self.ds.v.encoding.update(chunks=(20,))
with pytest.raises(
(NotImplementedError, ValueError),
match="Specified zarr chunks"
match="Specified [Zz]arr chunks"
" encoding\\['chunks'\\]=\\(20,\\)"
" for variable named 'v'",
):
Expand Down
Loading