Skip to content

Allow Zarr 0.11 in ZarrExt - #72

Open
alex-s-gardner wants to merge 1 commit into
JuliaDataCubes:masterfrom
alex-s-gardner:zarr-0.11
Open

alex-s-gardner wants to merge 1 commit into
JuliaDataCubes:masterfrom
alex-s-gardner:zarr-0.11

Conversation

@alex-s-gardner

Copy link
Copy Markdown

Zarr.jl 0.11 moves its implementation into ZarrCore, and Zarr re-exports only ZarrCore's public names. MetadataV2, MetadataV3 and to_zarrtype are not among them, so ZarrExt fails to load against Zarr 0.11 with UndefVarError: `MetadataV3` not defined. The extension now imports those three from Zarr.ZarrCore. That module does not exist in 0.10, so the Zarr compat moves from 0.10 to 0.11 rather than widening. The version goes to 0.7.12.

The test suite passes locally against Zarr 0.11.1 (Julia 1.13).

Co-authored-by: Claude 🤖 noreply@anthropic.com

Zarr.jl 0.11 moves its implementation into `ZarrCore`, and `Zarr` re-exports only `ZarrCore`'s public names. `MetadataV2`, `MetadataV3` and `to_zarrtype` are not among them, so `ZarrExt` fails to load against Zarr 0.11 with ``UndefVarError: `MetadataV3` not defined``. The extension now imports those three from `Zarr.ZarrCore`. That module does not exist in 0.10, so the `Zarr` compat moves from `0.10` to `0.11` rather than widening. The version goes to 0.7.12.

The test suite passes locally against Zarr 0.11.1 (Julia 1.13).

Co-authored-by: Claude 🤖 <noreply@anthropic.com>
@felixcremer

Copy link
Copy Markdown
Member

Thanks. I am wondering whether we should rather make YAXArrayBase only depend on ZarrCore. And make the extension trigger on ZarrCore instead of Zarr. I am going to open a PR.

@codecov

codecov Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 52.04%. Comparing base (49d7155) to head (77feb2e).

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #72   +/-   ##
=======================================
  Coverage   52.04%   52.04%           
=======================================
  Files          12       12           
  Lines         490      490           
=======================================
  Hits          255      255           
  Misses        235      235           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants