-
-
Notifications
You must be signed in to change notification settings - Fork 290
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
TypeError: Filesystem needs to support async operations #2554
Comments
I think this has been fixed upstream -- fsspec/filesystem_spec#1755 @norlandrhagen - would you mind trying with fsspec@main an report back? |
Shall do! I'll give it a spin. |
I installed the latest from fsspec: xr.__version__
'2024.11.0'
zarr.__version__
'3.0.0b3'
fsspec.__version__
'2024.10.0.post24+gc36066c' and getting the same error:
|
@martindurant / @moradology - any idea why we're not getting the async wrapper here? |
Seems familiar... I'm not 100% certain, but it looks to me like the issue for which this draft PR was cut: #2533 |
Funny that this "needs to be async" happens during a I think checking async_impl and auto-wrapping is the right thing to do here. Re-interpreting the URL isn't ideal unless we can guarantee that fsspec and objstore configs are identical, which for local might be OK but in general is not. |
Zarr version
3.0.0b3
Numcodecs version
0.14.1
Python Version
3.12
Operating System
Mac
Installation
pip
Description
I'm having issues with using
zarr.open_group
for a local Zarr store.calling
zarr.open_group
with a full uri:zg = zarr.open_group('file:///air.zarr')
gives the error:
TypeError: Filesystem needs to support async operations.
calling open_group on a relative local path or an s3 path seems to work fine.
zg = zarr.open_group('air.zarr')
zg = zarr.open_group('s3://carbonplan-share/air_temp.zarr')
Comments from @d-v-b in the Zarr Zulip chat:
Steps to reproduce
Error:
TypeError: Filesystem needs to support async operations.
Traceback:
Additional output
No response
The text was updated successfully, but these errors were encountered: