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 81be26f

Browse filesBrowse files
authored
Merge pull request #28688 from QuLogic/auto-backport-of-pr-28668-on-v3.9.x
Backport PR #28293 and #28668: Enable 3.13 wheels and bump cibuildwheel
2 parents e3159ba + e40125a commit 81be26f
Copy full SHA for 81be26f

File tree

1 file changed

+25
-5
lines changed
Filter options

1 file changed

+25
-5
lines changed

‎.github/workflows/cibuildwheel.yml

Copy file name to clipboardExpand all lines: .github/workflows/cibuildwheel.yml
+25-5Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -134,24 +134,44 @@ jobs:
134134
name: cibw-sdist
135135
path: dist/
136136

137+
- name: Build wheels for CPython 3.13
138+
uses: pypa/cibuildwheel@bd033a44476646b606efccdd5eed92d5ea1d77ad # v2.20.0
139+
with:
140+
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
141+
env:
142+
CIBW_BUILD: "cp313-* cp313t-*"
143+
# No free-threading wheels for NumPy; musllinux skipped for main builds also.
144+
CIBW_SKIP: "cp313t-win_amd64 *-musllinux_aarch64"
145+
CIBW_BUILD_FRONTEND:
146+
"pip; args: --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple"
147+
CIBW_FREE_THREADED_SUPPORT: true
148+
# No free-threading wheels available for aarch64 on Pillow.
149+
CIBW_TEST_SKIP: "cp313t-manylinux_aarch64"
150+
# We need pre-releases to get the nightly wheels.
151+
CIBW_BEFORE_TEST: >-
152+
pip install --pre
153+
--extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
154+
contourpy numpy pillow
155+
CIBW_ARCHS: ${{ matrix.cibw_archs }}
156+
137157
- name: Build wheels for CPython 3.12
138-
uses: pypa/cibuildwheel@7e5a838a63ac8128d71ab2dfd99e4634dd1bca09 # v2.19.2
158+
uses: pypa/cibuildwheel@bd033a44476646b606efccdd5eed92d5ea1d77ad # v2.20.0
139159
with:
140160
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
141161
env:
142162
CIBW_BUILD: "cp312-*"
143163
CIBW_ARCHS: ${{ matrix.cibw_archs }}
144164

145165
- name: Build wheels for CPython 3.11
146-
uses: pypa/cibuildwheel@7e5a838a63ac8128d71ab2dfd99e4634dd1bca09 # v2.19.2
166+
uses: pypa/cibuildwheel@bd033a44476646b606efccdd5eed92d5ea1d77ad # v2.20.0
147167
with:
148168
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
149169
env:
150170
CIBW_BUILD: "cp311-*"
151171
CIBW_ARCHS: ${{ matrix.cibw_archs }}
152172

153173
- name: Build wheels for CPython 3.10
154-
uses: pypa/cibuildwheel@7e5a838a63ac8128d71ab2dfd99e4634dd1bca09 # v2.19.2
174+
uses: pypa/cibuildwheel@bd033a44476646b606efccdd5eed92d5ea1d77ad # v2.20.0
155175
with:
156176
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
157177
env:
@@ -167,7 +187,7 @@ jobs:
167187
CIBW_ARCHS: ${{ matrix.cibw_archs }}
168188

169189
- name: Build wheels for PyPy
170-
uses: pypa/cibuildwheel@7e5a838a63ac8128d71ab2dfd99e4634dd1bca09 # v2.19.2
190+
uses: pypa/cibuildwheel@bd033a44476646b606efccdd5eed92d5ea1d77ad # v2.20.0
171191
with:
172192
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
173193
env:
@@ -203,7 +223,7 @@ jobs:
203223
run: ls dist
204224

205225
- name: Generate artifact attestation for sdist and wheel
206-
uses: actions/attest-build-provenance@5e9cb68e95676991667494a6a4e59b8a2f13e1d0 # v1.3.3
226+
uses: actions/attest-build-provenance@210c1913531870065f03ce1f9440dd87bc0938cd # v1.4.0
207227
with:
208228
subject-path: dist/matplotlib-*
209229

0 commit comments

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