Skip to content

Commit

Permalink
Build musllinux wheels for Python 3.9-3.11. Skip PyPy wheels on i686
Browse files Browse the repository at this point in the history
NumPy 2.0 has musllinux wheels for Python 3.9-3.12 on PyPI.

Building NumPy 2.0 for PyPy on i686 fails with errors like:

```
../numpy/_core/src/npysort/quicksort.cpp:86:51: error: no matches converting function ‘QSort_AVX512_ICL’ to type ‘void (*)(using TF = using Type = std::conditional<true, short int, short int>::type*, intptr_t)’ {aka ‘void (*)(short int*, int)’}
```
  • Loading branch information
nsoranzo committed Jul 2, 2024
1 parent 335ca02 commit fba2c50
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@ jobs:
run: python -m cibuildwheel --output-dir dist
env:
CIBW_ARCHS: ${{ matrix.archs }}
# Skip building musllinux wheels for the Python versions for which the oldest
# supported numpy version doesn't have musllinux wheels on PyPI.
# Skip also building for PyPy 3.8, which is deprecated upstream.
CIBW_SKIP: "cp38-musllinux_* cp39-musllinux_* cp310-musllinux_* cp311-musllinux_* pp38-*"
# Skip building musllinux wheels for the CPython versions for which the
# numpy version we build against doesn't have musllinux wheels on PyPI.
# Skip building for PyPy 3.8, which is deprecated upstream.
# Skip building for PyPy on i686 since NumPy 2.0 fails to build on it.
CIBW_SKIP: "cp38-musllinux_* pp38-* pp*-manylinux_i686"
- name: Check packages
run: twine check dist/*
- uses: actions/upload-artifact@v4
Expand Down

0 comments on commit fba2c50

Please sign in to comment.