|
66 | 66 | - name: Build manylinux2010 image containing Python 3.11 and 3.12
|
67 | 67 | if: matrix.manylinux2010_hack
|
68 | 68 | run: |
|
69 |
| - echo "CIBW_SKIP=*cp3{7,8,9,10}*" >> $GITHUB_ENV |
| 69 | + echo "CIBW_SKIP=*cp3{7,8,9,10,13}*" >> $GITHUB_ENV |
70 | 70 | echo "CIBW_MANYLINUX_X86_64_IMAGE=manylinux2010-with-modern-cpython" >> $GITHUB_ENV
|
71 | 71 | docker build -t manylinux2010-with-modern-cpython - <<'EOF'
|
72 | 72 | # syntax=docker/dockerfile:1
|
@@ -107,7 +107,7 @@ jobs:
|
107 | 107 | - name: Build wheels
|
108 | 108 |
|
109 | 109 | env:
|
110 |
| - CIBW_BUILD: "cp3{7..12}-${{ matrix.wheel_type }}" |
| 110 | + CIBW_BUILD: "cp3{7..13}-${{ matrix.wheel_type }}" |
111 | 111 | CIBW_ARCHS_LINUX: auto aarch64
|
112 | 112 | CIBW_PRERELEASE_PYTHONS: True
|
113 | 113 | CIBW_TEST_EXTRAS: test
|
@@ -156,7 +156,7 @@ jobs:
|
156 | 156 | - name: Build wheels
|
157 | 157 |
|
158 | 158 | env:
|
159 |
| - CIBW_BUILD: "cp3{8..12}-*" |
| 159 | + CIBW_BUILD: "cp3{8..13}-*" |
160 | 160 | CIBW_PRERELEASE_PYTHONS: True
|
161 | 161 | CIBW_TEST_EXTRAS: test
|
162 | 162 | CIBW_TEST_COMMAND: pytest {package}/tests
|
@@ -196,6 +196,10 @@ jobs:
|
196 | 196 | rmdir dist/{sdist,*-wheels}
|
197 | 197 | rm -r dist/tests
|
198 | 198 | ls -R dist
|
| 199 | + - name: Avoid publishing Python 3.13 wheels |
| 200 | + run: | |
| 201 | + rm -f dist/*cp313* |
| 202 | + ls -l dist/ |
199 | 203 | - uses: pypa/gh-action-pypi-publish@release/v1
|
200 | 204 | with:
|
201 | 205 | skip_existing: true
|
|
0 commit comments