Skip to content

Commit e26c03f

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 e26c03f

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

.github/workflows/cibuildwheel.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,15 +140,26 @@ 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_BEFORE_TEST: |
152+
python -m pip install \
153+
--index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple \
154+
--upgrade --only-binary=:all: contourpy numpy pillow
155+
143156
- name: Build wheels for CPython 3.13
144157
uses: pypa/cibuildwheel@5f22145df44122af0f5a201f93cf0207171beca7 # v3.0.0
145158
with:
146159
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
147160
env:
148161
CIBW_BUILD: "cp313-* cp313t-*"
149162
CIBW_ENABLE: cpython-freethreading
150-
# No free-threading wheels available for aarch64 on Pillow.
151-
CIBW_TEST_SKIP: "cp313t-manylinux_aarch64"
152163
CIBW_ARCHS: ${{ matrix.cibw_archs }}
153164

154165
- name: Build wheels for CPython 3.12
@@ -167,7 +178,6 @@ jobs:
167178
CIBW_BUILD: "cp311-*"
168179
CIBW_ARCHS: ${{ matrix.cibw_archs }}
169180

170-
171181
- name: Build wheels for PyPy
172182
uses: pypa/cibuildwheel@5f22145df44122af0f5a201f93cf0207171beca7 # v3.0.0
173183
with:
@@ -176,8 +186,6 @@ jobs:
176186
CIBW_BUILD: "pp311-*"
177187
CIBW_ARCHS: ${{ matrix.cibw_archs }}
178188
CIBW_ENABLE: pypy
179-
# No wheels available for Pillow with pp311 yet.
180-
CIBW_TEST_SKIP: "pp311*"
181189
if: matrix.cibw_archs != 'aarch64' && matrix.os != 'windows-latest'
182190

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

0 commit comments

Comments
 (0)