Skip to content

Commit 11ddcdc

Browse files
committed
CI temporary force setuptools to use distutils from stdlib (scikit-learn#22028)
1 parent d721855 commit 11ddcdc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

build_tools/azure/posix-docker.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ jobs:
3232
COVERAGE: 'false'
3333
TEST_DOCSTRINGS: 'false'
3434
BLAS: 'openblas'
35+
# temporary fix with setuptools 60.0.0 by setting SETUPTOOLS_USE_DISTUTILS
36+
# see the update there:
37+
# https://github.com/pypa/setuptools/issues/2941
38+
SETUPTOOLS_USE_DISTUTILS: 'stdlib'
3539
# Set in azure-pipelines.yml
3640
DISTRIB: ''
3741
DOCKER_CONTAINER: ''
@@ -71,6 +75,7 @@ jobs:
7175
-e SKLEARN_SKIP_NETWORK_TESTS=$SKLEARN_SKIP_NETWORK_TESTS
7276
-e BLAS=$BLAS
7377
-e CPU_COUNT=$CPU_COUNT
78+
-e SETUPTOOLS_USE_DISTUTILS=$SETUPTOOLS_USE_DISTUTILS
7479
$DOCKER_CONTAINER
7580
sleep 1000000
7681
displayName: 'Start container'

0 commit comments

Comments
 (0)