Skip to content

fix: complete imagecodecs codec package hints - #4351

Merged
d-v-b merged 3 commits into
zarr-developers:mainfrom
d-v-b:codex/imagecodecs-package-hints
Sep 14, 2026
Merged

d-v-b merged 3 commits into
zarr-developers:mainfrom
d-v-b:codex/imagecodecs-package-hints

Conversation

@d-v-b

@d-v-b d-v-b commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #4277 that attributes a bunch of missing codec references to imagecodecs-zarr

🤖 AI text below 🤖

Missing Zarr v3 imagecodecs such as imagecodecs_lzma, imagecodecs_avif, and imagecodecs_jpegls currently give no package hint, despite being registered by imagecodecs-zarr. Add all 81 exact names from its published 2026.8.16 wheel: 68 newly recognized names and 13 existing names that now list both imagecodecs-zarr and virtual-tiff. Preserve the virtual-tiff-only jpeg8 and jetraw entries.

The table cites the provider release. Update the regression tests to exercise missing-codec errors for newly recognized names, shared providers, legacy providers, and an unknown imagecodec name. Add a changelog entry.

Validation:

  • Registry and configuration suites: 87 passed in the Hatch Python 3.12 minimal environment.
  • Compared the complete imagecodecs-zarr mapping against zarr.codecs in the published wheel: exactly 81 names, with no missing or extra entries.
  • Ruff lint and formatting checks passed.
  • Repository pre-commit checks passed, including mypy, codespell, and numpydoc validation.

@codecov

codecov Bot commented Sep 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.34%. Comparing base (ba883a5) to head (ef82e68).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4351   +/-   ##
=======================================
  Coverage   94.34%   94.34%           
=======================================
  Files          92       92           
  Lines       12935    12935           
=======================================
  Hits        12203    12203           
  Misses        732      732           
Files with missing lines Coverage Δ
src/zarr/registry.py 91.75% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@d-v-b
d-v-b marked this pull request as ready for review September 14, 2026 09:14
@d-v-b

d-v-b commented Sep 14, 2026

Copy link
Copy Markdown
Contributor Author

cc @cgohlke, feel free to ping us if you add new codecs so we can update this list.

@d-v-b

d-v-b commented Sep 14, 2026

Copy link
Copy Markdown
Contributor Author

this gets merged when green

@d-v-b
d-v-b merged commit 5d60db6 into zarr-developers:main Sep 14, 2026
39 checks passed
@d-v-b
d-v-b deleted the codex/imagecodecs-package-hints branch September 14, 2026 09:27
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.

1 participant