Skip to content

Commit 8bf1922

Browse files
committed
ci: Enable wheel builds on Python 3.14
This should only end up on the nightly wheel upload for now. Also, re-enable testing in places where Pillow wheels were previously missing, but are now available.
1 parent 33a0d07 commit 8bf1922

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/cibuildwheel.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,15 +140,22 @@ jobs:
140140
name: cibw-sdist
141141
path: dist/
142142

143+
- name: Build wheels for CPython 3.14
144+
uses: pypa/cibuildwheel@5f22145df44122af0f5a201f93cf0207171beca7 # v3.0.0
145+
with:
146+
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
147+
env:
148+
CIBW_BUILD: "cp314-* cp314t-*"
149+
CIBW_ENABLE: "cpython-freethreading cpython-prerelease"
150+
CIBW_ARCHS: ${{ matrix.cibw_archs }}
151+
143152
- name: Build wheels for CPython 3.13
144153
uses: pypa/cibuildwheel@5f22145df44122af0f5a201f93cf0207171beca7 # v3.0.0
145154
with:
146155
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
147156
env:
148157
CIBW_BUILD: "cp313-* cp313t-*"
149158
CIBW_ENABLE: cpython-freethreading
150-
# No free-threading wheels available for aarch64 on Pillow.
151-
CIBW_TEST_SKIP: "cp313t-manylinux_aarch64"
152159
CIBW_ARCHS: ${{ matrix.cibw_archs }}
153160

154161
- name: Build wheels for CPython 3.12
@@ -167,7 +174,6 @@ jobs:
167174
CIBW_BUILD: "cp311-*"
168175
CIBW_ARCHS: ${{ matrix.cibw_archs }}
169176

170-
171177
- name: Build wheels for PyPy
172178
uses: pypa/cibuildwheel@5f22145df44122af0f5a201f93cf0207171beca7 # v3.0.0
173179
with:
@@ -176,8 +182,6 @@ jobs:
176182
CIBW_BUILD: "pp311-*"
177183
CIBW_ARCHS: ${{ matrix.cibw_archs }}
178184
CIBW_ENABLE: pypy
179-
# No wheels available for Pillow with pp311 yet.
180-
CIBW_TEST_SKIP: "pp311*"
181185
if: matrix.cibw_archs != 'aarch64' && matrix.os != 'windows-latest'
182186

183187
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2

0 commit comments

Comments
 (0)