Skip to content

Commit

Permalink
BLD: Enable building Python 3.13 wheels for nightlies
Browse files Browse the repository at this point in the history
  • Loading branch information
QuLogic committed May 24, 2024
1 parent 566b213 commit d370e7b
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,23 @@ jobs:
name: cibw-sdist
path: dist/

- name: Build wheels for CPython 3.13
uses: pypa/cibuildwheel@ba8be0d98853f5744f24e7f902c8adef7ae2e7f3 # v2.18.1
with:
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
env:
CIBW_BUILD: "cp313-* cp313t-*"
CIBW_PRERELEASE_PYTHONS: true
CIBW_FREE_THREADED_SUPPORT: true
# We need pre-releases to get the nightly wheels.
CIBW_BEFORE_TEST: >-
pip install --pre
--extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
contourpy numpy git+https://github.com/python-pillow/Pillow@main
# Pillow needs a bunch of image libraries to build here, so we'll skip testing for now.
CIBW_TEST_SKIP: "*linux*"
CIBW_ARCHS: ${{ matrix.cibw_archs }}

- name: Build wheels for CPython 3.12
uses: pypa/cibuildwheel@ba8be0d98853f5744f24e7f902c8adef7ae2e7f3 # v2.18.1
with:
Expand Down

0 comments on commit d370e7b

Please sign in to comment.