55 # A tag or branch name or a commit hash for the matplotlib/matplotlib repo, for which
66 # to build wheels. This is normally set to `main` in the main branch of this
77 # repo, and to a tag name (e.g., `v2.3.2`) on a release branch.
8- SOURCE_REF_TO_BUILD : v3.11.1
8+ SOURCE_REF_TO_BUILD : v3.11.2
99
1010
1111on :
@@ -46,12 +46,12 @@ jobs:
4646
4747 steps :
4848 - name : Checkout matplotlib-release
49- uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 .0.2
49+ uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 .0.1
5050 with :
5151 persist-credentials : false
5252
5353 - name : Checkout matplotlib
54- uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 .0.2
54+ uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 .0.1
5555 with :
5656 repository : matplotlib/matplotlib
5757 ref : ${{ env.SOURCE_REF_TO_BUILD }}
6060 persist-credentials : false
6161 fetch-depth : 0
6262
63- - uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2 .0
63+ - uses : actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0 .0
6464 name : Install Python
6565 with :
6666 python-version : ' 3.11'
9292
9393 steps :
9494 - name : Checkout matplotlib-release
95- uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 .0.2
95+ uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 .0.1
9696 with :
9797 persist-credentials : false
9898
@@ -167,43 +167,50 @@ jobs:
167167 name : sdist-license
168168 path : dist/
169169
170+ - name : Build wheels for CPython 3.15
171+ uses : pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0
172+ with :
173+ package-dir : dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
174+ env :
175+ CIBW_BUILD : " cp315-* cp315t-*"
176+ CIBW_ARCHS : ${{ matrix.cibw_archs }}
177+ CIBW_MANYLINUX_X86_64_IMAGE : manylinux_2_28
178+
170179 - name : Build wheels for CPython 3.14
171- uses : pypa/cibuildwheel@8d2b08b68458a16aeb24b64e68a09ab1c8e82084 # v3.4.1
180+ uses : pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0
172181 with :
173182 package-dir : dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
174183 env :
175184 CIBW_BUILD : " cp314-* cp314t-*"
176- CIBW_ENABLE : " cpython-freethreading cpython-prerelease"
177185 CIBW_ARCHS : ${{ matrix.cibw_archs }}
178186 CIBW_MANYLINUX_X86_64_IMAGE : manylinux_2_28
179187
180188 - name : Build wheels for CPython 3.13
181- uses : pypa/cibuildwheel@8d2b08b68458a16aeb24b64e68a09ab1c8e82084 # v3.4.1
189+ uses : pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0
182190 with :
183191 package-dir : dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
184192 env :
185- CIBW_BUILD : " cp313-* cp313t-*"
186- CIBW_ENABLE : cpython-freethreading
193+ CIBW_BUILD : " cp313-*"
187194 CIBW_ARCHS : ${{ matrix.cibw_archs }}
188195
189196 - name : Build wheels for CPython 3.12
190- uses : pypa/cibuildwheel@8d2b08b68458a16aeb24b64e68a09ab1c8e82084 # v3.4.1
197+ uses : pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0
191198 with :
192199 package-dir : dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
193200 env :
194201 CIBW_BUILD : " cp312-*"
195202 CIBW_ARCHS : ${{ matrix.cibw_archs }}
196203
197204 - name : Build wheels for CPython 3.11
198- uses : pypa/cibuildwheel@8d2b08b68458a16aeb24b64e68a09ab1c8e82084 # v3.4.1
205+ uses : pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0
199206 with :
200207 package-dir : dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
201208 env :
202209 CIBW_BUILD : " cp311-*"
203210 CIBW_ARCHS : ${{ matrix.cibw_archs }}
204211
205212 - name : Build wheels for PyPy
206- uses : pypa/cibuildwheel@8d2b08b68458a16aeb24b64e68a09ab1c8e82084 # v3.4.1
213+ uses : pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0
207214 with :
208215 package-dir : dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
209216 env :
@@ -238,7 +245,7 @@ jobs:
238245 merge-multiple : true
239246
240247 - name : Publish
241- uses : pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
248+ uses : pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
242249 with :
243250 repository-url : https://test.pypi.org/legacy/
244251 skip-existing : true
@@ -254,7 +261,7 @@ jobs:
254261 runs-on : ubuntu-latest
255262 steps :
256263 - name : Checkout matplotlib
257- uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 .0.2
264+ uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 .0.1
258265 with :
259266 repository : matplotlib/matplotlib
260267 ref : ${{ env.SOURCE_REF_TO_BUILD }}
@@ -296,7 +303,7 @@ jobs:
296303 merge-multiple : true
297304
298305 - name : Publish
299- uses : pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
306+ uses : pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
300307 with :
301308 print-hash : true
302309 attestations : true
0 commit comments