diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 150cacc9..9a367d6b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -45,7 +45,7 @@ jobs: - name: Install clang shell: "bash -l {0}" - if: ${{ matrix.platform }} == 'macos-12' + if: matrix.platform == 'macos-12' run: | conda activate env conda install -y 'clang>=12.0.1,<17' @@ -60,7 +60,16 @@ jobs: run: | conda activate env export DISABLE_NUMCODECS_AVX2="" - python -m pip install -v -e .[test,test_extras,msgpack,zfpy,pcodec] + # TODO: put back zfpy import when it supports numpy 2.0 + python -m pip install -v -e .[test,test_extras,msgpack,pcodec] + + # This is used to test with zfpy, which does not yet support numpy 2.0 + - name: Install older numpy and zfpy + if: matrix.python-version == '3.10' + shell: "bash -l {0}" + run: | + conda activate env + python -m pip install "zfpy>=1" "numpy<2" - name: List installed packages shell: "bash -l {0}" diff --git a/pyproject.toml b/pyproject.toml index 1b9ccca4..5085a1e1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,7 +14,7 @@ A Python package providing buffer compression and transformation codecs \ for use in data storage and communication applications.""" readme = "README.rst" dependencies = [ - "numpy>=1.7,<2", + "numpy>=1.7", ] requires-python = ">=3.10" dynamic = [