Skip to content

Commit

Permalink
Build: Upgrade cibuildwheel and include Py3.13 wheels.
Browse files Browse the repository at this point in the history
  • Loading branch information
scoder committed Jun 15, 2024
1 parent d003d41 commit 3fed4aa
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,16 +83,16 @@ jobs:
- uses: actions/checkout@v4
- name: Install cibuildwheel
# Nb. keep cibuildwheel version pin consistent with job below
run: pipx install cibuildwheel==2.15.0
run: pipx install cibuildwheel==2.19.1
- id: set-matrix
run: |
MATRIX=$(
{
cibuildwheel --print-build-identifiers --platform linux \
cibuildwheel --print-build-identifiers --platform linux --prerelease-pythons \
| jq -nRc '{"only": inputs, "os": "ubuntu-latest"}' \
&& cibuildwheel --print-build-identifiers --platform macos \
&& cibuildwheel --print-build-identifiers --platform macos --prerelease-pythons \
| jq -nRc '{"only": inputs, "os": "macos-latest"}' \
&& cibuildwheel --print-build-identifiers --platform windows \
&& cibuildwheel --print-build-identifiers --platform windows --prerelease-pythons \
| jq -nRc '{"only": inputs, "os": "windows-2019"}'
} | jq -sc
)
Expand Down Expand Up @@ -133,13 +133,13 @@ jobs:
platforms: all

- name: Build wheels
uses: pypa/cibuildwheel@v2.17.0
uses: pypa/cibuildwheel@v2.19.1
with:
only: ${{ matrix.only }}

- name: Build old Linux wheels
if: contains(matrix.only, '-manylinux_') && startsWith(matrix.only, 'cp36-') && (contains(matrix.only, 'i686') || contains(matrix.only, 'x86_64'))
uses: pypa/cibuildwheel@v2.17.0
uses: pypa/cibuildwheel@v2.19.1
env:
CIBW_MANYLINUX_i686_IMAGE: manylinux1
CIBW_MANYLINUX_X86_64_IMAGE: manylinux1
Expand All @@ -149,7 +149,7 @@ jobs:
- name: Build faster Linux wheels
# also build wheels with the most recent manylinux images and gcc
if: runner.os == 'Linux' && !contains(matrix.only, 'i686')
uses: pypa/cibuildwheel@v2.17.0
uses: pypa/cibuildwheel@v2.19.1
env:
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28
CIBW_MANYLINUX_AARCH64_IMAGE: manylinux_2_28
Expand Down

0 comments on commit 3fed4aa

Please sign in to comment.