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

Skip to content

Commit 47dc680

Browse files
committed
BLD: Enable building Python 3.13 wheels for nightlies
1 parent e6f2b0c commit 47dc680

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/cibuildwheel.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,24 @@ jobs:
134134
name: cibw-sdist
135135
path: dist/
136136

137+
- name: Build wheels for CPython 3.13
138+
uses: pypa/cibuildwheel@7e5a838a63ac8128d71ab2dfd99e4634dd1bca09 # v2.19.2
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 pillow
153+
CIBW_ARCHS: ${{ matrix.cibw_archs }}
154+
137155
- name: Build wheels for CPython 3.12
138156
uses: pypa/cibuildwheel@7e5a838a63ac8128d71ab2dfd99e4634dd1bca09 # v2.19.2
139157
with:

0 commit comments

Comments
 (0)
0