Skip to content

Commit

Permalink
CI Fixes wheel building (#22051)
Browse files Browse the repository at this point in the history
  • Loading branch information
glemaitre committed Dec 25, 2021
1 parent bd2ed7f commit 3773ee7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/wheels.yml
Expand Up @@ -80,22 +80,22 @@ jobs:
bitness: 32
platform_id: win32

# Linux 64 bit manylinux1
# Linux 64 bit manylinux2014
- os: ubuntu-latest
python: 37
bitness: 64
platform_id: manylinux_x86_64
manylinux_image: manylinux1
manylinux_image: manylinux2014
- os: ubuntu-latest
python: 38
bitness: 64
platform_id: manylinux_x86_64
manylinux_image: manylinux1
manylinux_image: manylinux2014
- os: ubuntu-latest
python: 39
bitness: 64
platform_id: manylinux_x86_64
manylinux_image: manylinux1
manylinux_image: manylinux2014

# Linux 64 bit manylinux2010
- os: ubuntu-latest
Expand All @@ -113,30 +113,30 @@ jobs:
bitness: 64
platform_id: manylinux_x86_64
manylinux_image: manylinux2010

# NumPy on Python 3.10 only supports 64bit and is only available with manylinux2014
- os: ubuntu-latest
python: 310
bitness: 64
platform_id: manylinux_x86_64
manylinux_image: manylinux2014

# Linux 32 bit manylinux1
# Linux 32 bit manylinux2014
- os: ubuntu-latest
python: 37
bitness: 32
platform_id: manylinux_i686
manylinux_image: manylinux1
manylinux_image: manylinux2014
- os: ubuntu-latest
python: 38
bitness: 32
platform_id: manylinux_i686
manylinux_image: manylinux1
manylinux_image: manylinux2014
- os: ubuntu-latest
python: 39
bitness: 32
platform_id: manylinux_i686
manylinux_image: manylinux1
manylinux_image: manylinux2014

# Linux 32 bit manylinux2010
- os: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
@@ -1,7 +1,7 @@
[build-system]
# Minimum requirements for the build system to execute.
requires = [
"setuptools",
"setuptools<60.0",
"wheel",
"Cython>=0.28.5",

Expand Down
1 change: 1 addition & 0 deletions sklearn/svm/tests/test_sparse.py
Expand Up @@ -172,6 +172,7 @@ def kfunc(x, y):
assert_array_equal(clf_lin.predict(X_sp), clf_mylin.predict(X_sp))


@skip_if_32bit
def test_svc_iris():
# Test the sparse SVC with the iris dataset
for k in ("linear", "poly", "rbf"):
Expand Down

0 comments on commit 3773ee7

Please sign in to comment.