Skip to content

Commit 14c2817

Browse files
committed
skip for old fsspec versions
1 parent 0cbeb72 commit 14c2817

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/test_store/test_zep8.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,11 @@ async def test_make_store_path_with_zep8_url() -> None:
251251
async def test_make_store_path_with_regular_url() -> None:
252252
"""Test make_store_path with regular URLs (backward compatibility)."""
253253
pytest.importorskip("fsspec", reason="fsspec not available")
254+
pytest.importorskip(
255+
"fsspec",
256+
minversion="2024.12.0",
257+
reason="fsspec >= 2024.12.0 required for AsyncFileSystemWrapper",
258+
)
254259

255260
# Test that regular fsspec paths still work
256261
# Note: We test with memory:// which doesn't require network
@@ -483,6 +488,11 @@ async def test_fsspec_https_url_resolution() -> None:
483488
async def test_fsspec_store_creation_mock() -> None:
484489
"""Test fsspec store creation with mocked filesystem."""
485490
fsspec = pytest.importorskip("fsspec", reason="fsspec not available")
491+
pytest.importorskip(
492+
"fsspec",
493+
minversion="2024.12.0",
494+
reason="fsspec >= 2024.12.0 required for AsyncFileSystemWrapper",
495+
)
486496

487497
# Create a mock filesystem for testing
488498
from zarr.storage._fsspec import _make_async

0 commit comments

Comments
 (0)