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 ac4e76a

Browse filesBrowse files
timhoffmmeeseeksmachine
authored andcommitted
Backport PR #29308: Update cibuildwheel workflow
1 parent 66784df commit ac4e76a
Copy full SHA for ac4e76a

File tree

Expand file treeCollapse file tree

1 file changed

+5
-19
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-19
lines changed

‎.github/workflows/cibuildwheel.yml

Copy file name to clipboardExpand all lines: .github/workflows/cibuildwheel.yml
+5-19Lines changed: 5 additions & 19 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
@@ -192,14 +185,7 @@ jobs:
192185
env:
193186
CIBW_BUILD: "pp310-*"
194187
CIBW_ARCHS: ${{ matrix.cibw_archs }}
195-
# Work around for https://github.com/pypa/setuptools/issues/4571
196-
# This can be removed once kiwisolver has wheels for PyPy 3.10
197-
# https://github.com/nucleic/kiwi/pull/182
198-
CIBW_BEFORE_TEST: >-
199-
export PIP_CONSTRAINT=pypy-constraint.txt &&
200-
echo "setuptools!=72.2.0" > $PIP_CONSTRAINT &&
201-
pip install kiwisolver &&
202-
unset PIP_CONSTRAINT
188+
CIBW_ENABLE: pypy
203189
if: matrix.cibw_archs != 'aarch64' && matrix.os != 'windows-latest'
204190

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

0 commit comments

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