Repository navigation
ENH: Support and require Zarr v3 - #523
Merged
Merged
Conversation
basnijholt
commented
Jan 9, 2025
| name="/array", | ||
| shape=self.full_shape, | ||
| dtype=object, | ||
| object_codec=object_codec, |
Collaborator
Author
There was a problem hiding this comment.
Zarr v3 does not support object arrays yet.
See https://zarr.readthedocs.io/en/stable/user-guide/arrays.html#missing-features-in-3-0
CodSpeed Performance ReportMerging #523 will not alter performanceComparing Summary
|
- Change _encode_scalar return type from np.bytes_ to bytes - Update _store_scalar_encoded signature to accept bytes - Zarr v3 VariableLengthBytes dtype expects plain Python bytes - Fixes TypeError: Expected bytes, got numpy.bytes_ on CI This resolves all 54 failing tests across all Python versions.
Codecov Report✅ All modified and coverable lines are covered by tests.
🚀 New features to boost your workflow:
|
basnijholt
marked this pull request as ready for review
November 4, 2025 06:43
…nd update call sites
- Document VLenBytes slicing vs scalar indexing forms in _decode_scalar - Note 0-D mask arrays must use chunks=() (chunks=(1,) raises ValueError) - Qualify ndarray return comment with “As of Zarr 3.1.3” and scalar unwrap rationale No functional changes.
Contributor
✅ PR Title Formatted CorrectlyThe title of this PR has been updated to match the correct format. Thank you! |
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.
No description provided.