Skip to content

Commit f4a9304

Browse files
committed
Use CIBW_ENABLE
1 parent 80c5625 commit f4a9304

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/wheels.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
CIBW_ARCHS: "aarch64"
8686
# Likewise, select only one Python version per job to speed this up.
8787
CIBW_BUILD: "${{ matrix.python-version }}-${{ matrix.spec == 'musllinux' && 'musllinux' || 'manylinux' }}*"
88-
CIBW_PRERELEASE_PYTHONS: True
88+
CIBW_ENABLE: cpython-prerelease
8989
# Extra options for manylinux.
9090
CIBW_MANYLINUX_AARCH64_IMAGE: ${{ matrix.spec }}
9191
CIBW_MANYLINUX_PYPY_AARCH64_IMAGE: ${{ matrix.spec }}
@@ -150,10 +150,9 @@ jobs:
150150
env:
151151
CIBW_ARCHS: ${{ matrix.cibw_arch }}
152152
CIBW_BUILD: ${{ matrix.build }}
153-
CIBW_FREE_THREADED_SUPPORT: True
153+
CIBW_ENABLE: cpython-prerelease cpython-freethreading
154154
CIBW_MANYLINUX_PYPY_X86_64_IMAGE: ${{ matrix.manylinux }}
155155
CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.manylinux }}
156-
CIBW_PRERELEASE_PYTHONS: True
157156
CIBW_SKIP: pp39-*
158157
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.macosx_deployment_target }}
159158

@@ -228,8 +227,7 @@ jobs:
228227
CIBW_ARCHS: ${{ matrix.cibw_arch }}
229228
CIBW_BEFORE_ALL: "{package}\\winbuild\\build\\build_dep_all.cmd"
230229
CIBW_CACHE_PATH: "C:\\cibw"
231-
CIBW_FREE_THREADED_SUPPORT: True
232-
CIBW_PRERELEASE_PYTHONS: True
230+
CIBW_ENABLE: cpython-prerelease cpython-freethreading
233231
CIBW_SKIP: pp39-*
234232
CIBW_TEST_SKIP: "*-win_arm64"
235233
CIBW_TEST_COMMAND: 'docker run --rm

0 commit comments

Comments
 (0)