Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BLD: Bump cibuildwheel and enable more PyPy #21285

Merged
merged 1 commit into from Apr 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
25 changes: 10 additions & 15 deletions .github/workflows/wheels.yml
Expand Up @@ -75,21 +75,16 @@ jobs:
- [macos-10.15, macosx_*]
- [windows-2019, win_amd64]
- [windows-2019, win32]
python: ["cp38", "cp39", "cp310"]
include:
# manylinux pypy builds
- buildplat: [ubuntu-20.04, manylinux_x86_64]
python: "pp38"

# TODO: Uncomment and bump cibuildwheel version
# once cibuildwheel adds PyPy 7.3.8
# macOS pypy builds
#- buildplat: [macos-10.15, macosx_x86_64]
# python: "pp38"

# Windows PyPy builds
- buildplat: [windows-2019, win_amd64]
# TODO: uncomment PyPy 3.9 builds once PyPy
# re-releases a new minor version
# NOTE: This needs a bump of cibuildwheel version, also, once that happens.
mattip marked this conversation as resolved.
Show resolved Hide resolved
python: ["cp38", "cp39", "cp310", "pp38"] #, "pp39"]
exclude:
# Don't build PyPy 32-bit windows
- buildplat: [windows-2019, win32]
python: "pp38"
- buildplat: [windows-2019, win32]
python: "pp39"
env:
IS_32_BIT: ${{ matrix.buildplat[1] == 'win32' }}
IS_PUSH: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') }}
Expand Down Expand Up @@ -120,7 +115,7 @@ jobs:
if: ${{ env.IS_32_BIT == 'true' }}

- name: Build wheels
uses: pypa/cibuildwheel@v2.3.1
uses: pypa/cibuildwheel@v2.4.0
mattip marked this conversation as resolved.
Show resolved Hide resolved
env:
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.buildplat[1] }}

Expand Down
6 changes: 3 additions & 3 deletions .travis.yml
Expand Up @@ -51,7 +51,7 @@ jobs:
virt: vm
env:
- CIBW_BUILD: cp38-manylinux_aarch64
install: python3 -m pip install cibuildwheel==2.3.1
install: python3 -m pip install cibuildwheel==2.4.0
script: |
cibuildwheel --output-dir wheelhouse
source ./tools/wheels/upload_wheels.sh
Expand All @@ -64,7 +64,7 @@ jobs:
virt: vm
env:
- CIBW_BUILD: cp39-manylinux_aarch64
install: python3 -m pip install cibuildwheel==2.3.1
install: python3 -m pip install cibuildwheel==2.4.0
script: |
cibuildwheel --output-dir wheelhouse
source ./tools/wheels/upload_wheels.sh
Expand All @@ -77,7 +77,7 @@ jobs:
virt: vm
env:
- CIBW_BUILD: cp310-manylinux_aarch64
install: python3 -m pip install cibuildwheel==2.3.1
install: python3 -m pip install cibuildwheel==2.4.0
script: |
cibuildwheel --output-dir wheelhouse
source ./tools/wheels/upload_wheels.sh
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Expand Up @@ -77,7 +77,7 @@ requires = [


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