Skip to content

Commit

Permalink
Use numpy<2 to fix tests in release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
t20100 committed Aug 28, 2024
1 parent ad7622d commit 17e2802
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,9 @@ jobs:
CIBW_ARCHS: ${{ matrix.cibw_archs }}

# Use silx wheelhouse for ppc64le
CIBW_BEFORE_TEST: pip install h5py --only-binary ":all:" --find-links=https://www.silx.org/pub/wheelhouse/ --trusted-host=www.silx.org
# Use numpy<2 since h5py v3.11 which supports numpy v2 is not available for all architectures
# see https://github.com/h5py/h5py/issues/2408
CIBW_BEFORE_TEST: pip install "numpy<2" h5py --only-binary ":all:" --find-links=https://www.silx.org/pub/wheelhouse/ --trusted-host=www.silx.org
CIBW_TEST_COMMAND: python {project}/test/test.py
- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 17e2802

Please sign in to comment.