diff --git a/.github/workflows/latest-deps.yml b/.github/workflows/latest-deps.yml new file mode 100644 index 0000000000..9c0729b00a --- /dev/null +++ b/.github/workflows/latest-deps.yml @@ -0,0 +1,30 @@ +# This workflow simulates a fresh environment where the only install +# command is a user pip installing zarr +name: Latest dependencies + +on: + push: + branches: [ support/v2 ] + pull_request: + branches: [ support/v2 ] + +jobs: + latest-deps: + + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Setup Miniconda + uses: conda-incubator/setup-miniconda@v3.1.1 + with: + auto-update-conda: true + python-version: "3.12" + - name: Tests + shell: bash -el {0} + env: + ZARR_V3_EXPERIMENTAL_API: 1 + ZARR_V3_SHARDING: 1 + run: | + python -m pip install pytest pytest-cov pytest-timeout msgpack-python + python -m pip install . + pytest -svx --timeout=300 diff --git a/docs/release.rst b/docs/release.rst index f31bd5ccc2..56bbd0d2f1 100644 --- a/docs/release.rst +++ b/docs/release.rst @@ -16,16 +16,24 @@ Release notes .. note:: Zarr-Python 2 is in support mode now, and no new features will be added. -.. _release_2.18.6: +.. _release_2.18.7: -2.18.6 +2.18.7 ------ Fixes ~~~~~ * Pinned ``numcodecs`` to ``<0.16``. In ``numcodecs`` 0.16 deprecated code was removed - that makes it incompatible with zarr-python 2.18. - By :user:`David Stansby ` (:issue:`2965`) + that makes it incompatible with older versions of zarr-python 2.18. + By :user:`David Stansby ` (:issue:`2973`) + +.. _release_2.18.6: + +2.18.6 +------ +Note: the numcodecs dependency pin was incorrectly applied in this release, meaning it maintains +the same issue with numcodecs compatibility as previous releases. Please upgrade +to 2.18.7 to fix this. .. _release_2.18.5: diff --git a/pyproject.toml b/pyproject.toml index 97d7a39aef..02789ba0b7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ dependencies = [ 'asciitree', 'numpy>=1.24', 'fasteners; sys_platform != "emscripten"', - 'numcodecs>=0.10.0,!=0.14.0,!=0.14.1', + 'numcodecs>=0.10.0,!=0.14.0,!=0.14.1,<0.16', ] dynamic = ["version"] classifiers = [