Skip to content

Commit 6ac2cb3

Browse files
authored
CI Fix wheels build after cibuildwheel 3.0 release (scikit-learn#31532)
1 parent d171a3c commit 6ac2cb3

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/wheels.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
- os: windows-latest
7676
python: 313t
7777
platform_id: win_amd64
78-
free_threaded_support: True
78+
cibw_enable: cpython-freethreading
7979

8080
# Linux 64 bit manylinux2014
8181
- os: ubuntu-latest
@@ -98,7 +98,7 @@ jobs:
9898
python: 313t
9999
platform_id: manylinux_x86_64
100100
manylinux_image: manylinux2014
101-
free_threaded_support: True
101+
cibw_enable: cpython-freethreading
102102

103103
# # Linux 64 bit manylinux2014
104104
- os: ubuntu-24.04-arm
@@ -121,7 +121,7 @@ jobs:
121121
python: 313t
122122
platform_id: manylinux_aarch64
123123
manylinux_image: manylinux2014
124-
free_threaded_support: True
124+
cibw_enable: cpython-freethreading
125125

126126
# MacOS x86_64
127127
- os: macos-13
@@ -139,7 +139,7 @@ jobs:
139139
- os: macos-13
140140
python: 313t
141141
platform_id: macosx_x86_64
142-
free_threaded_support: True
142+
cibw_enable: cpython-freethreading
143143

144144
# MacOS arm64
145145
- os: macos-14
@@ -157,7 +157,7 @@ jobs:
157157
- os: macos-14
158158
python: 313t
159159
platform_id: macosx_arm64
160-
free_threaded_support: True
160+
cibw_enable: cpython-freethreading
161161

162162
steps:
163163
- name: Checkout scikit-learn
@@ -173,8 +173,7 @@ jobs:
173173

174174
- name: Build and test wheels
175175
env:
176-
CIBW_PRERELEASE_PYTHONS: ${{ matrix.prerelease_pythons }}
177-
CIBW_FREE_THREADED_SUPPORT: ${{ matrix.free_threaded_support }}
176+
CIBW_ENABLE: ${{ matrix.cibw_enable }}
178177
CIBW_ENVIRONMENT: SKLEARN_SKIP_NETWORK_TESTS=1
179178
CIBW_BUILD: cp${{ matrix.python }}-${{ matrix.platform_id }}
180179
CIBW_ARCHS: all

0 commit comments

Comments
 (0)