8000 BLD: Enable building Python 3.13 wheels for nightlies · matplotlib/matplotlib@4f48b25 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4f48b25

Browse files
committed
BLD: Enable building Python 3.13 wheels for nightlies
1 parent 1edae7b commit 4f48b25

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/cibuildwheel.yml

+19
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,25 @@ jobs:
134134
name: cibw-sdist
135135
path: dist/
136136

137+
- name: Build wheels for CPython 3.13
138+
uses: pypa/cibuildwheel@932529cab190fafca8c735a551657247fa8f8eaf # v2.19.1
139+
with:
140+
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
141+
env:
142+
CIBW_BUILD: "cp313-* cp313t-*"
143+
CIBW_SKIP: "cp313t-win_amd64" # No free-threading wheels for NumPy.
144+
CIBW_BUILD_FRONTEND:
145+
"pip; args: --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple"
146+
CIBW_PRERELEASE_PYTHONS: true
147+
CIBW_FREE_THREADED_SUPPORT: true
148+
# We need pre-releases to get the nightly wheels.
149+
CIBW_BEFORE_TEST: >-
150+
pip install --pre
151+
--extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
152+
contourpy numpy
153+
CIBW_TEST_SKIP: "cp313t-*" # No free-threading wheels for Pillow.
154+
CIBW_ARCHS: ${{ matrix.cibw_archs }}
155+
137156
- name: Build wheels for CPython 3.12
138157
uses: pypa/cibuildwheel@932529cab190fafca8c735a551657247fa8f8eaf # v2.19.1
139158
with:

0 commit comments

Comments
 (0)
0