Skip to content

Commit 16f4fb8

Browse files
authored
CI Remove Windows 32 bit support (#24627)
1 parent 9e764ba commit 16f4fb8

7 files changed

+9
-136
lines changed

.github/workflows/wheels.yml

-10
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,6 @@ jobs:
6868
bitness: 64
6969
platform_id: win_amd64
7070

71-
# Window 32 bit
72-
- os: windows-latest
73-
python: 38
74-
bitness: 32
75-
platform_id: win32
76-
- os: windows-latest
77-
python: 39
78-
bitness: 32
79-
platform_id: win32
80-
8171
# Linux 64 bit manylinux2014
8272
- os: ubuntu-latest
8373
python: 38

azure-pipelines.yml

-6
Original file line numberDiff line numberDiff line change
@@ -280,9 +280,3 @@ jobs:
280280
COVERAGE: 'true'
281281
SKLEARN_ENABLE_DEBUG_CYTHON_DIRECTIVES: '1'
282282
SKLEARN_TESTS_GLOBAL_RANDOM_SEED: '7' # non-default seed
283-
py38_pip_openblas_32bit:
284-
DISTRIB: 'pip-windows'
285-
PYTHON_VERSION: '3.8'
286-
PYTHON_ARCH: '32'
287-
LOCK_FILE: ./build_tools/azure/py38_pip_openblas_32bit_lock.txt
288-
SKLEARN_TESTS_GLOBAL_RANDOM_SEED: '8' # non-default seed

build_tools/azure/py38_pip_openblas_32bit_lock.txt

-65
This file was deleted.

build_tools/azure/py38_pip_openblas_32bit_requirements.txt

-13
This file was deleted.

build_tools/azure/test_script.sh

-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ if [[ "$DISTRIB" =~ ^conda.* ]]; then
99
source activate $VIRTUALENV
1010
elif [[ "$DISTRIB" == "ubuntu" || "$DISTRIB" == "debian-32" || "$DISTRIB" == "pip-nogil" ]]; then
1111
source $VIRTUALENV/bin/activate
12-
elif [[ "$DISTRIB" == "pip-windows" ]]; then
13-
source $VIRTUALENV/Scripts/activate
1412
fi
1513

1614
if [[ "$BUILD_WITH_ICC" == "true" ]]; then

build_tools/github/test_windows_wheels.sh

+9-17
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,13 @@ set -x
66
PYTHON_VERSION=$1
77
BITNESS=$2
88

9-
if [[ "$BITNESS" == "32" ]]; then
10-
# 32-bit architectures use the regular
11-
# test command (outside of the minimal Docker container)
12-
cp $CONFTEST_PATH $CONFTEST_NAME
13-
python -c "import sklearn; sklearn.show_versions()"
14-
pytest --pyargs sklearn
15-
else
16-
docker container run \
17-
--rm scikit-learn/minimal-windows \
18-
powershell -Command "python -c 'import sklearn; sklearn.show_versions()'"
9+
docker container run \
10+
--rm scikit-learn/minimal-windows \
11+
powershell -Command "python -c 'import sklearn; sklearn.show_versions()'"
1912

20-
docker container run \
21-
-e SKLEARN_SKIP_NETWORK_TESTS=1 \
22-
-e OMP_NUM_THREADS=2 \
23-
-e OPENBLAS_NUM_THREADS=2 \
24-
--rm scikit-learn/minimal-windows \
25-
powershell -Command "pytest --pyargs sklearn"
26-
fi
13+
docker container run \
14+
-e SKLEARN_SKIP_NETWORK_TESTS=1 \
15+
-e OMP_NUM_THREADS=2 \
16+
-e OPENBLAS_NUM_THREADS=2 \
17+
--rm scikit-learn/minimal-windows \
18+
powershell -Command "pytest --pyargs sklearn"

build_tools/update_environments_and_lock_files.py

-23
Original file line numberDiff line numberDiff line change
@@ -330,29 +330,6 @@ def remove_from(alist, to_remove):
330330
# pip-compile
331331
"python_version": "3.8.5",
332332
},
333-
{
334-
"build_name": "py38_pip_openblas_32bit",
335-
"folder": "build_tools/azure",
336-
"pip_dependencies": [
337-
"numpy",
338-
"scipy",
339-
"cython",
340-
"joblib",
341-
"threadpoolctl",
342-
"pytest",
343-
"pytest-xdist",
344-
"pillow",
345-
"pooch",
346-
"wheel",
347-
],
348-
# The Windows 32bit build use 3.8.10. No cross-compilation support for
349-
# pip-compile, we are going to assume the pip lock file on a Linux
350-
# 64bit machine gives appropriate versions
351-
"python_version": "3.8.10",
352-
"package_constraints": {
353-
"scipy": "1.9.1", # 1.9.2 not available for 32 bit Windows
354-
},
355-
},
356333
]
357334

358335

0 commit comments

Comments
 (0)