8000 Update cibuildwheel workflow · matplotlib/matplotlib@41f76d8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 41f76d8

Browse files
committed
Update cibuildwheel workflow
- cibuildwheel runs builds in a container, so there's no need to pin the runner to old `ubuntu-20.04` - cibuildwheel is warning about using other variables than `CIBW_ENABLE`, so switch to that. - All dependencies should have Python 3.13 wheels now, so we won't need the nightly builds.
1 parent 92c6067 commit 41f76d8

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

.github/workflows/cibuildwheel.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
'CI: Run cibuildwheel')
3535
)
3636
name: Build sdist
37-
runs-on: ubuntu-20.04
37+
runs-on: ubuntu-latest
3838
outputs:
3939
SDIST_NAME: ${{ steps.sdist.outputs.SDIST_NAME }}
4040

@@ -119,9 +119,9 @@ jobs:
119119
strategy:
120120
matrix:
121121
include:
122-
- os: ubuntu-20.04
122+
- os: ubuntu-latest
123123
cibw_archs: "x86_64"
124-
- os: ubuntu-20.04
124+
- os: ubuntu-latest
125125
cibw_archs: "aarch64"
126126
- os: windows-latest
127127
cibw_archs: "auto64"
@@ -149,16 +149,9 @@ jobs:
149149
package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
150150
env:
151151
CIBW_BUILD: "cp313-* cp313t-*"
152-
CIBW_BUILD_FRONTEND:
153-
"pip; args: --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple"
154-
CIBW_FREE_THREADED_SUPPORT: true
152+
CIBW_ENABLE: cpython-freethreading
155153
# No free-threading wheels available for aarch64 on Pillow.
156154
CIBW_TEST_SKIP: "cp313t-manylinux_aarch64"
157-
# We need pre-releases to get the nightly wheels.
158-
CIBW_BEFORE_TEST: >-
159-
pip install --pre
160-
--extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
161-
contourpy numpy pillow
162155
CIBW_ARCHS: ${{ matrix.cibw_archs }}
163156

164157
- name: Build wheels for CPython 3.12
@@ -200,6 +193,7 @@ jobs:
200193
echo "setuptools!=72.2.0" > $PIP_CONSTRAINT &&
201194
pip install kiwisolver &&
202195
unset PIP_CONSTRAINT
196+
CIBW_ENABLE: pypy
203197
if: matrix.cibw_archs != 'aarch64' && matrix.os != 'windows-latest'
204198

205199
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3

0 commit comments

Comments
 (0)
0