Repository navigation
Conversation
The code of #488 (`Store` and `AsyncStore` views over capability backends, contexts, locations, the conformance suite), moved from `zarr_storage` to `zarr_storage.experimental`. Apart from import paths, the syntax trees equal fce03f9's except that `Buffer` comes from `collections.abc`, since the package requires Python 3.12, and that `__version__` stays in `zarr_storage`. Assisted-by: ClaudeCode:claude-opus-5-5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Assisted-by: ClaudeCode:claude-opus-5-5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
🤖 AI text below 🤖
Add
zarr_storage.experimental, the store API meant to succeedzarr_storage.legacy:StoreandAsyncStoreviews over memory, local-filesystem and obstore backends, with the same operations as sync methods and as coroutines, conditional reads and writes, byte-range reads, reads into caller buffers, batches, and contexts that hold thread pools and limits.zarr_storage.experimental.testinghas a conformance suite that any backend can run. Any release may change this API.Stacked on #490, which must merge first; this PR stays a draft until then. Together the two replace #488. This is step 4 of zarr-developers#4682. Nothing in
zarruses this API.What changed since #488
The code moved from
zarr_storagetozarr_storage.experimental, and its tests totests/experimental. Comparing syntax trees with fce03f9, the last commit of that PR, only these differ besides import paths:Buffercomes fromcollections.abc, and__version__stays inzarr_storage. New:tests/experimental/test_package.py, which checks that importing this API imports neither the legacy code nor its dependencies.ObjectStoreBackendneeds theobstoreextra (obstore 0.12). Theremoteextra allows older versions, which work for the legacy stores only.packages/zarr-storage/DESIGN.mdis the contract. The design notes and the review record of the API are in #488 and its comments.Testing
5222 tests of both APIs pass on macOS with Python 3.12, 3.14 and free-threaded 3.14. mypy, pyright, ruff and
mkdocs build --strictare clean. One review of the move found no serious problem; its minor findings are fixed, except that no job here tests the legacy code's obstore 0.5.1 floor, and that leak detection is weaker, as above.🤖 Generated with Claude Code