From 881410fae3eb971a321c30b4e6c6a528efa35d85 Mon Sep 17 00:00:00 2001 From: Max Jones <14077947+maxrjones@users.noreply.github.com> Date: Thu, 20 Nov 2025 12:29:35 -0500 Subject: [PATCH] Test against zarr main --- .github/workflows/ci.yaml | 2 +- pyproject.toml | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ed919fc0..5fd69717 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -70,7 +70,7 @@ jobs: strategy: fail-fast: false matrix: - zarr-version: ["312", "313"] + zarr-version: ["312", "313", "main"] defaults: run: diff --git a/pyproject.toml b/pyproject.toml index ba984970..5043738d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -77,6 +77,12 @@ test-zarr-313 = [ "zarr==3.1.3", "crc32c", ] +test-zarr-main = [ + "pytest", + "pytest-cov", + "zarr @ git+https://github.com/zarr-developers/zarr-python.git@main", + "crc32c", +] msgpack = [ "msgpack", @@ -240,7 +246,8 @@ conflicts = [ # Zarr versions conflict with each other [ { group = "test-zarr-312" }, - { group = "test-zarr-313" } + { group = "test-zarr-313" }, + { group = "test-zarr-main" } ] ] @@ -257,5 +264,7 @@ uv = "*" [tool.pixi.tasks] ls-deps-312 = "uv run --group test-zarr-312 uv pip freeze" ls-deps-313 = "uv run --group test-zarr-313 uv pip freeze" +ls-deps-main = "uv run --group test-zarr-main uv pip freeze" test-zarr-312 = "uv run --group test-zarr-312 pytest numcodecs/tests/test_zarr3.py numcodecs/tests/test_zarr3_import.py" test-zarr-313 = "uv run --group test-zarr-313 pytest numcodecs/tests/test_zarr3.py numcodecs/tests/test_zarr3_import.py" +test-zarr-main = "uv run --group test-zarr-main pytest numcodecs/tests/test_zarr3.py numcodecs/tests/test_zarr3_import.py"