Update py-hamt to 3.4.0 - #10
Closed
Faolain wants to merge 1 commit into
Closed
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
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
Updates the client to use
py-hamt3.4.0 and adapts IPFS Zarr loading for the new sharded store behavior introduced in dClimate/py-hamt#86.What changed
py_hamtto>=3.4.0and refresheduv.lockto resolvepy-hamt3.4.0.zarr_groupsupport todClimateClient.load_dataset()and the legacy CID loader."0"when a py-hamt v2 sharded store reports multiple top-level groups and that safe default is available.zarr_groupoption and metadata field.Why
py-hamt 3.4.0 adds path-aware sharded Zarr v2 support and can require explicit Zarr groups for pyramid/multi-group layouts. The client now handles the common group
"0"layout automatically while still allowing callers to specify another group explicitly.Validation
uv run --extra testing pytest tests/test_ipfs_retrieval.py -quv run --extra dev ruff check dclimate_client_py/ipfs_retrieval.py dclimate_client_py/dclimate_client.py dclimate_client_py/datasets.py tests/test_ipfs_retrieval.py