Skip to content

Commit 49c3955

Browse files
committed
Remove breaking check from _make_async
1 parent baabf08 commit 49c3955

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/zarr/storage/_fsspec.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,6 @@ def _make_async(fs: AbstractFileSystem) -> AsyncFileSystem:
5656
fs_dict["asynchronous"] = True
5757
return fsspec.AbstractFileSystem.from_json(json.dumps(fs_dict))
5858

59-
# Wrap sync filesystems with the async wrapper
60-
if type(fs) is fsspec.implementations.local.LocalFileSystem and not fs.auto_mkdir:
61-
raise ValueError(
62-
f"LocalFilesystem {fs} was created with auto_mkdir=False but Zarr requires the filesystem to automatically create directories"
63-
)
6459
if fsspec_version < parse_version("2024.12.0"):
6560
raise ImportError(
6661
f"The filesystem '{fs}' is synchronous, and the required "

0 commit comments

Comments
 (0)