Repository navigation
chore!: remove zarr.tree and the Array.compressor properties - #4521
Merged
maxrjones merged 4 commits intoNov 9, 2026
Merged
Conversation
Both were deprecated in 3.0.0 and were scheduled for removal in 3.2.0 by zarr-developers#3325. The rest of that PR shipped in 3.2.0 through zarr-developers#3900-zarr-developers#3903; these did not, and nothing recorded a new date for them. Removed: - zarr.tree, zarr.api.synchronous.tree, zarr.api.asynchronous.tree. Use Group.tree / AsyncGroup.tree. - Array.compressor and AsyncArray.compressor. Use Array.compressors. The warning-only test for zarr.tree is gone, and the v2 compressor assertions in tests/test_v2.py now use `compressors`. The zarr.storage.default_compressor shim from the same zarr-developers#3325 list is left alone; zarr-developers#4505 removes it.
d-v-b
approved these changes
Nov 8, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4521 +/- ##
=======================================
Coverage 94.85% 94.85%
=======================================
Files 96 96
Lines 14004 13985 -19
=======================================
- Hits 13283 13266 -17
+ Misses 721 719 -2
🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
zarr.tree and Array.compressor were deprecated in 3.0.0 and were scheduled for removal in 3.2.0 by #3325. The rest of that #3325 shipped in 3.2.0 through #3900-#3903.
Removed:
The warning-only test for zarr.tree is gone, and the v2 compressor assertions in tests/test_v2.py now use
compressors.The zarr.storage.default_compressor shim from the same #3325 list is left alone, since #4505 removes it.
For reviewers
Would be good to get a +1 on following through with these removals
Author attestation
TODO
docs/user-guide/*.mdchanges/