Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 31b62a0

Browse filesBrowse files
committed
BLD: Enable building Python 3.13 wheels for nightlies
1 parent 1edae7b commit 31b62a0
Copy full SHA for 31b62a0

File tree

1 file changed

+18
-0
lines changed
Filter options

1 file changed

+18
-0
lines changed

‎.github/workflows/cibuildwheel.yml

Copy file name to clipboardExpand all lines: .github/workflows/cibuildwheel.yml
+18Lines 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@ba8be0d98853f5744f24e7f902c8adef7ae2e7f3 # v2.18.1
139+
with:
140+
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
141+
env:
142+
CIBW_BUILD: "cp313-* cp313t-*"
143+
CIBW_BUILD_FRONTEND:
144+
"pip; args: --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple"
145+
CIBW_PRERELEASE_PYTHONS: true
146+
CIBW_FREE_THREADED_SUPPORT: true
147+
# We need pre-releases to get the nightly wheels.
148+
CIBW_BEFORE_TEST: >-
149+
pip install --pre
150+
--extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
151+
contourpy numpy
152+
CIBW_TEST_SKIP: "cp313t-*" # No free-threading wheels for Pillow.
153+
CIBW_ARCHS: ${{ matrix.cibw_archs }}
154+
137155
- name: Build wheels for CPython 3.12
138156
uses: pypa/cibuildwheel@932529cab190fafca8c735a551657247fa8f8eaf # v2.19.1
139157
with:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.