Skip to content

Commit c805967

Browse files
authored
Merge pull request #30195 from QuLogic/py314
ci: Enable wheel builds on Python 3.14
2 parents 0e430b9 + 257430e commit c805967

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_28
152+
CIBW_BEFORE_TEST: >-
153+
python -m pip install
154+
--index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
155+
--upgrade --pre --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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy