@@ -134,24 +134,44 @@ jobs:
134
134
name :cibw-sdist
135
135
path :dist/
136
136
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
+
137
157
-name :Build wheels for CPython 3.12
138
- uses :pypa/cibuildwheel@7e5a838a63ac8128d71ab2dfd99e4634dd1bca09 # v2.19.2
158
+ uses :pypa/cibuildwheel@bd033a44476646b606efccdd5eed92d5ea1d77ad # v2.20.0
139
159
with :
140
160
package-dir :dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
141
161
env :
142
162
CIBW_BUILD :" cp312-*"
143
163
CIBW_ARCHS :${{ matrix.cibw_archs }}
144
164
145
165
-name :Build wheels for CPython 3.11
146
- uses :pypa/cibuildwheel@7e5a838a63ac8128d71ab2dfd99e4634dd1bca09 # v2.19.2
166
+ uses :pypa/cibuildwheel@bd033a44476646b606efccdd5eed92d5ea1d77ad # v2.20.0
147
167
with :
148
168
package-dir :dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
149
169
env :
150
170
CIBW_BUILD :" cp311-*"
151
171
CIBW_ARCHS :${{ matrix.cibw_archs }}
152
172
153
173
-name :Build wheels for CPython 3.10
154
- uses :pypa/cibuildwheel@7e5a838a63ac8128d71ab2dfd99e4634dd1bca09 # v2.19.2
174
+ uses :pypa/cibuildwheel@bd033a44476646b606efccdd5eed92d5ea1d77ad # v2.20.0
155
175
with :
156
176
package-dir :dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
157
177
env :
@@ -167,7 +187,7 @@ jobs:
167
187
CIBW_ARCHS :${{ matrix.cibw_archs }}
168
188
169
189
-name :Build wheels for PyPy
170
- uses :pypa/cibuildwheel@7e5a838a63ac8128d71ab2dfd99e4634dd1bca09 # v2.19.2
190
+ uses :pypa/cibuildwheel@bd033a44476646b606efccdd5eed92d5ea1d77ad # v2.20.0
171
191
with :
172
192
package-dir :dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
173
193
env :
@@ -203,7 +223,7 @@ jobs:
203
223
run :ls dist
204
224
205
225
-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
207
227
with :
208
228
subject-path :dist/matplotlib-*
209
229