Skip to content

Commit 55aacc7

Browse files
authored
Merge pull request numpy#21285 from lithomas1/patch-3
BLD: Bump cibuildwheel and enable more PyPy
2 parents eb83902 + 51d4695 commit 55aacc7

File tree

3 files changed

+14
-19
lines changed

3 files changed

+14
-19
lines changed

.github/workflows/wheels.yml

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -75,21 +75,16 @@ jobs:
7575
- [macos-10.15, macosx_*]
7676
- [windows-2019, win_amd64]
7777
- [windows-2019, win32]
78-
python: ["cp38", "cp39", "cp310"]
79-
include:
80-
# manylinux pypy builds
81-
- buildplat: [ubuntu-20.04, manylinux_x86_64]
82-
python: "pp38"
83-
84-
# TODO: Uncomment and bump cibuildwheel version
85-
# once cibuildwheel adds PyPy 7.3.8
86-
# macOS pypy builds
87-
#- buildplat: [macos-10.15, macosx_x86_64]
88-
# python: "pp38"
89-
90-
# Windows PyPy builds
91-
- buildplat: [windows-2019, win_amd64]
78+
# TODO: uncomment PyPy 3.9 builds once PyPy
79+
# re-releases a new minor version
80+
# NOTE: This needs a bump of cibuildwheel version, also, once that happens.
81+
python: ["cp38", "cp39", "cp310", "pp38"] #, "pp39"]
82+
exclude:
83+
# Don't build PyPy 32-bit windows
84+
- buildplat: [windows-2019, win32]
9285
python: "pp38"
86+
- buildplat: [windows-2019, win32]
87+
python: "pp39"
9388
env:
9489
IS_32_BIT: ${{ matrix.buildplat[1] == 'win32' }}
9590
IS_PUSH: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') }}
@@ -120,7 +115,7 @@ jobs:
120115
if: ${{ env.IS_32_BIT == 'true' }}
121116

122117
- name: Build wheels
123-
uses: pypa/cibuildwheel@v2.3.1
118+
uses: pypa/cibuildwheel@v2.4.0
124119
env:
125120
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.buildplat[1] }}
126121

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
virt: vm
5252
env:
5353
- CIBW_BUILD: cp38-manylinux_aarch64
54-
install: python3 -m pip install cibuildwheel==2.3.1
54+
install: python3 -m pip install cibuildwheel==2.4.0
5555
script: |
5656
cibuildwheel --output-dir wheelhouse
5757
source ./tools/wheels/upload_wheels.sh
@@ -64,7 +64,7 @@ jobs:
6464
virt: vm
6565
env:
6666
- CIBW_BUILD: cp39-manylinux_aarch64
67-
install: python3 -m pip install cibuildwheel==2.3.1
67+
install: python3 -m pip install cibuildwheel==2.4.0
6868
script: |
6969
cibuildwheel --output-dir wheelhouse
7070
source ./tools/wheels/upload_wheels.sh
@@ -77,7 +77,7 @@ jobs:
7777
virt: vm
7878
env:
7979
- CIBW_BUILD: cp310-manylinux_aarch64
80-
install: python3 -m pip install cibuildwheel==2.3.1
80+
install: python3 -m pip install cibuildwheel==2.4.0
8181
script: |
8282
cibuildwheel --output-dir wheelhouse
8383
source ./tools/wheels/upload_wheels.sh

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ requires = [
7777

7878

7979
[tool.cibuildwheel]
80-
skip = "cp36-* cp37-* pp37-* pp38-macosx* *-manylinux_i686 *_ppc64le *_s390x *-musllinux*"
80+
skip = "cp36-* cp37-* pp37-* *-manylinux_i686 *_ppc64le *_s390x *-musllinux*"
8181
build-verbosity = "3"
8282
before-build = "bash {project}/tools/wheels/cibw_before_build.sh {project}"
8383
before-test = "pip install -r {project}/test_requirements.txt"

0 commit comments

Comments
 (0)