@@ -44,10 +44,10 @@ jobs:
4444 fetch-depth : 0
4545 persist-credentials : false
4646
47- - uses : actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3 .0
47+ - uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6 .0
4848 name : Install Python
4949 with :
50- python-version : ' 3.10 '
50+ python-version : ' 3.11 '
5151
5252 # Something changed somewhere that prevents the downloaded-at-build-time
5353 # licenses from being included in built wheels, so pre-download them so
7070 run : twine check dist/*
7171
7272 - name : Upload sdist result
73- uses : actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
73+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
7474 with :
7575 name : cibw-sdist
7676 path : dist/*.tar.gz
@@ -115,13 +115,12 @@ jobs:
115115 CIBW_TEST_COMMAND : >-
116116 python {package}/ci/check_version_number.py
117117 MACOSX_DEPLOYMENT_TARGET : " 10.12"
118- MPL_DISABLE_FH4 : " yes"
119118 strategy :
120119 matrix :
121120 include :
122121 - os : ubuntu-latest
123122 cibw_archs : " x86_64"
124- - os : ubuntu-latest
123+ - os : ubuntu-24.04-arm
125124 cibw_archs : " aarch64"
126125 - os : windows-latest
127126 cibw_archs : " auto64"
@@ -131,20 +130,14 @@ jobs:
131130 cibw_archs : " arm64"
132131
133132 steps :
134- - name : Set up QEMU
135- if : matrix.cibw_archs == 'aarch64'
136- uses : docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0
137- with :
138- platforms : arm64
139-
140133 - name : Download sdist
141- uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
134+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
142135 with :
143136 name : cibw-sdist
144137 path : dist/
145138
146139 - name : Build wheels for CPython 3.13
147- uses : pypa/cibuildwheel@ee63bf16da6cddfb925f542f2c7b59ad50e93969 # v2.22.0
140+ uses : pypa/cibuildwheel@faf86a6ed7efa889faf6996aa23820831055001a # v2.23.3
148141 with :
149142 package-dir : dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
150143 env :
@@ -155,40 +148,35 @@ jobs:
155148 CIBW_ARCHS : ${{ matrix.cibw_archs }}
156149
157150 - name : Build wheels for CPython 3.12
158- uses : pypa/cibuildwheel@ee63bf16da6cddfb925f542f2c7b59ad50e93969 # v2.22.0
151+ uses : pypa/cibuildwheel@faf86a6ed7efa889faf6996aa23820831055001a # v2.23.3
159152 with :
160153 package-dir : dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
161154 env :
162155 CIBW_BUILD : " cp312-*"
163156 CIBW_ARCHS : ${{ matrix.cibw_archs }}
164157
165158 - name : Build wheels for CPython 3.11
166- uses : pypa/cibuildwheel@ee63bf16da6cddfb925f542f2c7b59ad50e93969 # v2.22.0
159+ uses : pypa/cibuildwheel@faf86a6ed7efa889faf6996aa23820831055001a # v2.23.3
167160 with :
168161 package-dir : dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
169162 env :
170163 CIBW_BUILD : " cp311-*"
171164 CIBW_ARCHS : ${{ matrix.cibw_archs }}
172165
173- - name : Build wheels for CPython 3.10
174- uses : pypa/cibuildwheel@ee63bf16da6cddfb925f542f2c7b59ad50e93969 # v2.22.0
175- with :
176- package-dir : dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
177- env :
178- CIBW_BUILD : " cp310-*"
179- CIBW_ARCHS : ${{ matrix.cibw_archs }}
180166
181167 - name : Build wheels for PyPy
182- uses : pypa/cibuildwheel@ee63bf16da6cddfb925f542f2c7b59ad50e93969 # v2.22.0
168+ uses : pypa/cibuildwheel@faf86a6ed7efa889faf6996aa23820831055001a # v2.23.3
183169 with :
184170 package-dir : dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
185171 env :
186- CIBW_BUILD : " pp310 -*"
172+ CIBW_BUILD : " pp311 -*"
187173 CIBW_ARCHS : ${{ matrix.cibw_archs }}
188174 CIBW_ENABLE : pypy
175+ # No wheels available for Pillow with pp311 yet.
176+ CIBW_TEST_SKIP : " pp311*"
189177 if : matrix.cibw_archs != 'aarch64' && matrix.os != 'windows-latest'
190178
191- - uses : actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
179+ - uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
192180 with :
193181 name : cibw-wheels-${{ runner.os }}-${{ matrix.cibw_archs }}
194182 path : ./wheelhouse/*.whl
@@ -206,7 +194,7 @@ jobs:
206194 contents : read
207195 steps :
208196 - name : Download packages
209- uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
197+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
210198 with :
211199 pattern : cibw-*
212200 path : dist
@@ -216,9 +204,9 @@ jobs:
216204 run : ls dist
217205
218206 - name : Generate artifact attestation for sdist and wheel
219- uses : actions/attest-build-provenance@7668571508540a607bdfd90a87a560489fe372eb # v2.1 .0
207+ uses : actions/attest-build-provenance@db473fddc028af60658334401dc6fa3ffd8669fd # v2.3 .0
220208 with :
221209 subject-path : dist/matplotlib-*
222210
223211 - name : Publish package distributions to PyPI
224- uses : pypa/gh-action-pypi-publish@67339c736fd9354cd4f8cb0b744f2b82a74b5c70 # v1.12.3
212+ uses : pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
0 commit comments