Skip to content
Closed
Show file tree
Hide file tree
Changes from 4 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
3 changes: 3 additions & 0 deletions docs/releases.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ New Features
Breaking changes
~~~~~~~~~~~~~~~~

- Requires Zarr 3.0 (for :pull:`182`).
By `Gustavo Hidalgo <https://github.com/ghidalgo3>`_.

Deprecations
~~~~~~~~~~~~

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ dependencies = [
"ujson",
"packaging",
"universal-pathlib",
"zarr>=3.0.0a0"
]

[project.optional-dependencies]
Expand Down
21 changes: 0 additions & 21 deletions virtualizarr/vendor/zarr/LICENSE.txt

This file was deleted.

Empty file.
26 changes: 0 additions & 26 deletions virtualizarr/vendor/zarr/utils.py

This file was deleted.

3 changes: 1 addition & 2 deletions virtualizarr/zarr.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
import ujson # type: ignore
import xarray as xr
from pydantic import BaseModel, ConfigDict, field_validator

from virtualizarr.vendor.zarr.utils import json_dumps
from zarr.v2.util import json_dumps
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would avoid this import if possible. We are likely to remove the v2 namespace before the 3.0 release.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll revert and continue to vendor this bit of code.


if TYPE_CHECKING:
pass
Expand Down