Skip to content

Commit 28273e1

Browse files
authored
Merge pull request matplotlib#30356 from ksunden/auto-backport-of-pr-30195-on-v3.10.x
Manual Backport PR matplotlib#30195 on branch v3.10.x (ci: Enable wheel builds on Python 3.14)
2 parents 9e38af6 + 9973d47 commit 28273e1

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

.github/workflows/cibuildwheel.yml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,15 +142,27 @@ jobs:
142142
name: cibw-sdist
143143
path: dist/
144144

145+
- name: Build wheels for CPython 3.14
146+
uses: pypa/cibuildwheel@5f22145df44122af0f5a201f93cf0207171beca7 # v3.0.0
147+
with:
148+
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
149+
env:
150+
CIBW_BUILD: "cp314-* cp314t-*"
151+
CIBW_ENABLE: "cpython-freethreading cpython-prerelease"
152+
CIBW_ARCHS: ${{ matrix.cibw_archs }}
153+
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28
154+
CIBW_BEFORE_TEST: >-
155+
python -m pip install
156+
--index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
157+
--upgrade --pre --only-binary=:all: contourpy numpy pillow
158+
145159
- name: Build wheels for CPython 3.13
146160
uses: pypa/cibuildwheel@ee63bf16da6cddfb925f542f2c7b59ad50e93969 # v2.22.0
147161
with:
148162
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
149163
env:
150164
CIBW_BUILD: "cp313-* cp313t-*"
151165
CIBW_ENABLE: cpython-freethreading
152-
# No free-threading wheels available for aarch64 on Pillow.
153-
CIBW_TEST_SKIP: "cp313t-manylinux_aarch64"
154166
CIBW_ARCHS: ${{ matrix.cibw_archs }}
155167

156168
- name: Build wheels for CPython 3.12
@@ -179,6 +191,14 @@ jobs:
179191
# Ignore because dependencies do not provide win-arm wheels on 3.10; should be removed on merge up
180192
if: matrix.os != 'windows-11-arm'
181193

194+
- name: Build wheels for PyPy
195+
uses: pypa/cibuildwheel@5f22145df44122af0f5a201f93cf0207171beca7 # v3.0.0
196+
with:
197+
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
198+
env:
199+
CIBW_BUILD: "cp310-*"
200+
CIBW_ARCHS: ${{ matrix.cibw_archs }}
201+
182202
- name: Build wheels for PyPy
183203
uses: pypa/cibuildwheel@ee63bf16da6cddfb925f542f2c7b59ad50e93969 # v2.22.0
184204
with:

0 commit comments

Comments
 (0)