-
-
Notifications
You must be signed in to change notification settings - Fork 331
Support async FSMap objects in zarr.open #2774
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
maxrjones
wants to merge
50
commits into
zarr-developers:main
Choose a base branch
from
maxrjones:support-FSMap
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
656a565
WIP: Support fsspec mutable mapping objects in zarr.open
maxrjones 877eb80
Simplify library availability checking
maxrjones 90cc08d
Merge branch 'main' into support-FSMap
maxrjones f04145c
Improve test coverage
maxrjones 825cd6e
Merge branch 'main' into support-FSMap
maxrjones c4bfb06
Improve error messages
maxrjones 06f35f2
Consolidate code
maxrjones e792e01
Make test more readable
maxrjones ed11018
Make async instances from sync fsmap objects
maxrjones e586001
Move test to fsspec store
maxrjones 3f9a34c
Re-add type ignore
maxrjones 4d1bd26
"Update docstring"
maxrjones 4b7a5eb
Merge branch 'main' into support-FSMap
maxrjones abc5fdf
Add another test
maxrjones 5d8e8ca
Merge branch 'main' into support-FSMap
d-v-b cb2db7d
Require auto_mkdir for LocalFileSystem
maxrjones ed9639f
Merge branch 'main' into support-FSMap
maxrjones 46e8bff
Update test location
maxrjones a126d4b
Merge branch 'main' into support-FSMap
dcherian 50c18f0
Merge branch 'main' into support-FSMap
maxrjones 7517f72
Convert older filesystems to async
maxrjones 3ae719b
Use if on fsspec versions rather than try; else
maxrjones d4d2256
Always use asynchronous=True in _make_async
maxrjones b4a2bd1
Merge branch 'main' into support-FSMap
maxrjones 28f8420
Improve tests
maxrjones b782704
Apply suggestions from code review
maxrjones 466bdd2
Apply more code suggestions
maxrjones b89a1a5
Fix typing error
maxrjones 95ddf7c
Merge branch 'main' into support-FSMap
maxrjones 9dcb558
Test remote stores in min_deps env
maxrjones f2b076a
Remove redundant import
maxrjones 7032ca1
Merge branch 'main' into support-FSMap
maxrjones ac4c64c
Test warning
maxrjones 27441e9
Lint
maxrjones 696761e
Add pytest pin
dstansby 9326025
Merge branch 'pin-pytest' into support-FSMap
maxrjones 7441486
Add release note
maxrjones 18ee24d
Generate coverage on min_deps and upstream jobs
maxrjones c1acdcf
Update src/zarr/storage/_fsspec.py
maxrjones 7f48751
More useful error messages
maxrjones a02b259
Add TypeAlias
maxrjones 7e0f2d6
Fix typing for no fsspec installation
maxrjones c05bd1f
Merge branch 'main' into support-FSMap
maxrjones ec38155
Merge branch 'main' into support-FSMap
d-v-b 9ca4781
Merge branch 'main' into support-FSMap
d-v-b 21e6493
Merge branch 'main' into support-FSMap
d-v-b d0a753d
Merge branch 'main' into support-FSMap
maxrjones 3b06c53
Move imports
maxrjones 98f00dd
Don't mutate FSMap object
maxrjones 9039c65
Merge branch 'main' into support-FSMap
maxrjones File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add `zarr.storage.FsspecStore.from_mapper()` so that `zarr.open()` supports stores of type `fsspec.mapping.FSMap`. |
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.