Skip to content

Commit 8631a1a

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 8631a1a

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

.github/workflows/cibuildwheel.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,15 +140,27 @@ 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+
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_27
152+
CIBW_BEFORE_TEST: |
153+
python -m pip install \
154+
--index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple \
155+
--upgrade --only-binary=:all: contourpy numpy pillow
156+
143157
- name: Build wheels for CPython 3.13
144158
uses: pypa/cibuildwheel@5f22145df44122af0f5a201f93cf0207171beca7 # v3.0.0
145159
with:
146160
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
147161
env:
148162
CIBW_BUILD: "cp313-* cp313t-*"
149163
CIBW_ENABLE: cpython-freethreading
150-
# No free-threading wheels available for aarch64 on Pillow.
151-
CIBW_TEST_SKIP: "cp313t-manylinux_aarch64"
152164
CIBW_ARCHS: ${{ matrix.cibw_archs }}
153165

154166
- name: Build wheels for CPython 3.12
@@ -167,7 +179,6 @@ jobs:
167179
CIBW_BUILD: "cp311-*"
168180
CIBW_ARCHS: ${{ matrix.cibw_archs }}
169181

170-
171182
- name: Build wheels for PyPy
172183
uses: pypa/cibuildwheel@5f22145df44122af0f5a201f93cf0207171beca7 # v3.0.0
173184
with:
@@ -176,8 +187,6 @@ jobs:
176187
CIBW_BUILD: "pp311-*"
177188
CIBW_ARCHS: ${{ matrix.cibw_archs }}
178189
CIBW_ENABLE: pypy
179-
# No wheels available for Pillow with pp311 yet.
180-
CIBW_TEST_SKIP: "pp311*"
181190
if: matrix.cibw_archs != 'aarch64' && matrix.os != 'windows-latest'
182191

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

0 commit comments

Comments
 (0)