diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6ec79e50..cc8180c4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -78,7 +78,7 @@ jobs: run: | conda activate env # TODO: remove --pre option when zarr v3 is out - python -m pip install --pre zarr + python -m pip install --pre zarr>=3.0.0b2 # This is used to test with zfpy, which does not yet support numpy 2.0 - name: Install older numpy and zfpy diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bf6a751b..1a471f2e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,4 +31,4 @@ repos: hooks: - id: mypy args: [--config-file, pyproject.toml] - additional_dependencies: [numpy, pytest, zfpy, 'zarr==3.0.0b1'] + additional_dependencies: [numpy, pytest, zfpy, 'zarr>=3.0.0b2'] diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 3189c9f5..fa14bf34 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -9,7 +9,7 @@ build: python: "3.12" jobs: post_install: - - python -m pip install --pre 'zarr' + - python -m pip install --pre 'zarr>=3.0.0b2' sphinx: configuration: docs/conf.py diff --git a/numcodecs/tests/test_zarr3.py b/numcodecs/tests/test_zarr3.py index afb77136..cdc9b206 100644 --- a/numcodecs/tests/test_zarr3.py +++ b/numcodecs/tests/test_zarr3.py @@ -36,7 +36,7 @@ @pytest.fixture def store() -> StorePath: - return StorePath(MemoryStore(mode="w")) + return StorePath(MemoryStore(read_only=False)) ALL_CODECS = [getattr(numcodecs.zarr3, cls_name) for cls_name in numcodecs.zarr3.__all__]