|
34 | 34 | 'CI: Run cibuildwheel') |
35 | 35 | ) |
36 | 36 | name: Build sdist |
37 | | - runs-on: ubuntu-20.04 |
| 37 | + runs-on: ubuntu-latest |
38 | 38 | outputs: |
39 | 39 | SDIST_NAME: ${{ steps.sdist.outputs.SDIST_NAME }} |
40 | 40 |
|
@@ -119,9 +119,9 @@ jobs: |
119 | 119 | strategy: |
120 | 120 | matrix: |
121 | 121 | include: |
122 | | - - os: ubuntu-20.04 |
| 122 | + - os: ubuntu-latest |
123 | 123 | cibw_archs: "x86_64" |
124 | | - - os: ubuntu-20.04 |
| 124 | + - os: ubuntu-latest |
125 | 125 | cibw_archs: "aarch64" |
126 | 126 | - os: windows-latest |
127 | 127 | cibw_archs: "auto64" |
@@ -149,16 +149,9 @@ jobs: |
149 | 149 | package-dir: dist/${{ needs.build_sdist.outputs.SDIST_NAME }} |
150 | 150 | env: |
151 | 151 | 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 |
155 | 153 | # No free-threading wheels available for aarch64 on Pillow. |
156 | 154 | 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 |
162 | 155 | CIBW_ARCHS: ${{ matrix.cibw_archs }} |
163 | 156 |
|
164 | 157 | - name: Build wheels for CPython 3.12 |
@@ -192,14 +185,7 @@ jobs: |
192 | 185 | env: |
193 | 186 | CIBW_BUILD: "pp310-*" |
194 | 187 | 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 |
203 | 189 | if: matrix.cibw_archs != 'aarch64' && matrix.os != 'windows-latest' |
204 | 190 |
|
205 | 191 | - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 |
|
0 commit comments