Skip to content

Commit

Permalink
CI: ensure we get numpy >=2.1.0rc1 for testing on aarch64
Browse files Browse the repository at this point in the history
On other platforms, building 2.0.1 from source is still okay, but
not under QEMU.
  • Loading branch information
rgommers committed Aug 11, 2024
1 parent 4f7921c commit a40751e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/wheel_tests_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,15 @@ jobs:
uses: docker/setup-qemu-action@v3
with:
platforms: arm64

- name: Install test dep; set CIBW environment variables
# Can be removed once numpy 2.1.0 is released
if: ${{ matrix.cibw_python }} == "cp313"
run: |
PYPI_URL="https://pypi.anaconda.org/scientific-python-nightly-wheels/simple"
CIBW_DEPS="pip install --pre -i $PYPI_URL numpy"
echo "CIBW_BEFORE_TEST=$CIBW_DEPS" >> "$GITHUB_ENV"
- name: Build the wheel
uses: pypa/cibuildwheel@bd033a44476646b606efccdd5eed92d5ea1d77ad # v2.20.0
with:
Expand Down

0 comments on commit a40751e

Please sign in to comment.