Skip to content

Commit d370e7b

Browse files
committed
BLD: Enable building Python 3.13 wheels for nightlies
1 parent 566b213 commit d370e7b

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/cibuildwheel.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,23 @@ 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_PRERELEASE_PYTHONS: true
144+
CIBW_FREE_THREADED_SUPPORT: true
145+
# We need pre-releases to get the nightly wheels.
146+
CIBW_BEFORE_TEST: >-
147+
pip install --pre
148+
--extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
149+
contourpy numpy git+https://github.com/python-pillow/Pillow@main
150+
# Pillow needs a bunch of image libraries to build here, so we'll skip testing for now.
151+
CIBW_TEST_SKIP: "*linux*"
152+
CIBW_ARCHS: ${{ matrix.cibw_archs }}
153+
137154
- name: Build wheels for CPython 3.12
138155
uses: pypa/cibuildwheel@ba8be0d98853f5744f24e7f902c8adef7ae2e7f3 # v2.18.1
139156
with:

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