Skip to content

Commit 3773ee7

Browse files
committed
CI Fixes wheel building (scikit-learn#22051)
1 parent bd2ed7f commit 3773ee7

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

.github/workflows/wheels.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -80,22 +80,22 @@ jobs:
8080
bitness: 32
8181
platform_id: win32
8282

83-
# Linux 64 bit manylinux1
83+
# Linux 64 bit manylinux2014
8484
- os: ubuntu-latest
8585
python: 37
8686
bitness: 64
8787
platform_id: manylinux_x86_64
88-
manylinux_image: manylinux1
88+
manylinux_image: manylinux2014
8989
- os: ubuntu-latest
9090
python: 38
9191
bitness: 64
9292
platform_id: manylinux_x86_64
93-
manylinux_image: manylinux1
93+
manylinux_image: manylinux2014
9494
- os: ubuntu-latest
9595
python: 39
9696
bitness: 64
9797
platform_id: manylinux_x86_64
98-
manylinux_image: manylinux1
98+
manylinux_image: manylinux2014
9999

100100
# Linux 64 bit manylinux2010
101101
- os: ubuntu-latest
@@ -113,30 +113,30 @@ jobs:
113113
bitness: 64
114114
platform_id: manylinux_x86_64
115115
manylinux_image: manylinux2010
116-
116+
117117
# NumPy on Python 3.10 only supports 64bit and is only available with manylinux2014
118118
- os: ubuntu-latest
119119
python: 310
120120
bitness: 64
121121
platform_id: manylinux_x86_64
122122
manylinux_image: manylinux2014
123123

124-
# Linux 32 bit manylinux1
124+
# Linux 32 bit manylinux2014
125125
- os: ubuntu-latest
126126
python: 37
127127
bitness: 32
128128
platform_id: manylinux_i686
129-
manylinux_image: manylinux1
129+
manylinux_image: manylinux2014
130130
- os: ubuntu-latest
131131
python: 38
132132
bitness: 32
133133
platform_id: manylinux_i686
134-
manylinux_image: manylinux1
134+
manylinux_image: manylinux2014
135135
- os: ubuntu-latest
136136
python: 39
137137
bitness: 32
138138
platform_id: manylinux_i686
139-
manylinux_image: manylinux1
139+
manylinux_image: manylinux2014
140140

141141
# Linux 32 bit manylinux2010
142142
- os: ubuntu-latest

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[build-system]
22
# Minimum requirements for the build system to execute.
33
requires = [
4-
"setuptools",
4+
"setuptools<60.0",
55
"wheel",
66
"Cython>=0.28.5",
77

sklearn/svm/tests/test_sparse.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ def kfunc(x, y):
172172
assert_array_equal(clf_lin.predict(X_sp), clf_mylin.predict(X_sp))
173173

174174

175+
@skip_if_32bit
175176
def test_svc_iris():
176177
# Test the sparse SVC with the iris dataset
177178
for k in ("linear", "poly", "rbf"):

0 commit comments

Comments
 (0)