File tree 7 files changed +7
-21
lines changed
7 files changed +7
-21
lines changed Original file line number Diff line number Diff line change 13
13
14
14
make_conda () {
15
15
TO_INSTALL=" $@ "
16
- # TODO: Remove this line once setuptools#2849 is resolved.
17
- TO_INSTALL=" $TO_INSTALL setuptools<58.5"
18
16
if [[ " $DISTRIB " == * " mamba" * ]]; then
19
17
mamba create -n $VIRTUALENV --yes $TO_INSTALL
20
18
else
@@ -90,8 +88,7 @@ elif [[ "$DISTRIB" == "ubuntu" ]]; then
90
88
source $VIRTUALENV /bin/activate
91
89
setup_ccache
92
90
python -m pip install $( get_dep cython $CYTHON_VERSION ) \
93
- $( get_dep joblib $JOBLIB_VERSION ) \
94
- " setuptools<58.5" # TODO: Remove this line once setuptools#2849 is resolved.
91
+ $( get_dep joblib $JOBLIB_VERSION )
95
92
96
93
elif [[ " $DISTRIB " == " debian-32" ]]; then
97
94
apt-get update
@@ -101,8 +98,7 @@ elif [[ "$DISTRIB" == "debian-32" ]]; then
101
98
source $VIRTUALENV /bin/activate
102
99
setup_ccache
103
100
python -m pip install $( get_dep cython $CYTHON_VERSION ) \
104
- $( get_dep joblib $JOBLIB_VERSION ) \
105
- " setuptools<58.5" # TODO: Remove this line once setuptools#2849 is resolved.
101
+ $( get_dep joblib $JOBLIB_VERSION )
106
102
107
103
elif [[ " $DISTRIB " == " conda-pip-latest" ]]; then
108
104
# FIXME: temporary fix to link against system libraries on linux
Original file line number Diff line number Diff line change 4
4
set -x
5
5
6
6
if [[ " $PYTHON_ARCH " == " 64" ]]; then
7
- conda create -n $VIRTUALENV -q -y python=$PYTHON_VERSION numpy scipy cython matplotlib wheel pillow joblib \
8
- " setuptools<58.5" # TODO: Remove this line once setuptools#2849 is resolved.
7
+ conda create -n $VIRTUALENV -q -y python=$PYTHON_VERSION numpy scipy cython matplotlib wheel pillow joblib
9
8
10
9
source activate $VIRTUALENV
11
10
@@ -17,8 +16,7 @@ if [[ "$PYTHON_ARCH" == "64" ]]; then
17
16
pip install pytest==$PYTEST_VERSION
18
17
fi
19
18
else
20
- pip install numpy scipy cython pytest wheel pillow joblib threadpoolctl \
21
- " setuptools<58.5" # TODO: Remove this line once setuptools#2849 is resolved.
19
+ pip install numpy scipy cython pytest wheel pillow joblib threadpoolctl
22
20
fi
23
21
24
22
if [[ " $PYTEST_XDIST_VERSION " != " none" ]]; then
Original file line number Diff line number Diff line change @@ -181,8 +181,6 @@ pip install "$(get_dep sphinx-gallery $SPHINX_GALLERY_VERSION)"
181
181
pip install " $( get_dep numpydoc $NUMPYDOC_VERSION ) "
182
182
pip install " $( get_dep sphinx-prompt $SPHINX_PROMPT_VERSION ) "
183
183
pip install " $( get_dep sphinxext-opengraph $SPHINXEXT_OPENGRAPH_VERSION ) "
184
- # TODO: Remove this line once setuptools#2849 is resolved.
185
- pip install " setuptools<58.5"
186
184
187
185
# Set parallelism to 3 to overlap IO bound tasks with CPU bound tasks on CI
188
186
# workers with 2 cores when building the compiled extensions of scikit-learn.
Original file line number Diff line number Diff line change @@ -50,9 +50,7 @@ mamba install --verbose -y ccache \
50
50
$( get_dep joblib $JOBLIB_VERSION ) \
51
51
$( get_dep threadpoolctl $THREADPOOLCTL_VERSION ) \
52
52
$( get_dep pytest $PYTEST_VERSION ) \
53
- $( get_dep pytest-xdist $PYTEST_XDIST_VERSION ) \
54
- " setuptools<58.5" # TODO: Remove this line once setuptools#2849 is resolved.
55
-
53
+ $( get_dep pytest-xdist $PYTEST_XDIST_VERSION )
56
54
setup_ccache
57
55
58
56
if [[ " $COVERAGE " == " true" ]]; then
Original file line number Diff line number Diff line change @@ -13,8 +13,7 @@ conda install -y mamba
13
13
mamba create -n pypy -y \
14
14
pypy numpy scipy cython \
15
15
joblib threadpoolctl pillow pytest \
16
- sphinx numpydoc docutils \
17
- " setuptools<58.5" # TODO: remove this line once setuptools#2849 is resolved.
16
+ sphinx numpydoc docutils
18
17
19
18
eval " $( conda shell.bash hook) "
20
19
conda activate pypy
Original file line number Diff line number Diff line change @@ -47,8 +47,6 @@ conda create -n testenv --yes python=3.7
47
47
source activate testenv
48
48
conda install -y scipy numpy pandas cython
49
49
pip install joblib threadpoolctl
50
- # TODO: This line once setuptools#2849 is resolved.
51
- pip install " setuptools<58.5"
52
50
53
51
pip install $( get_dep pytest $PYTEST_VERSION ) pytest-xdist
54
52
Original file line number Diff line number Diff line change 1
1
[build-system ]
2
2
# Minimum requirements for the build system to execute.
3
3
requires = [
4
- # TODO: Remove the specifier once setuptools#2849 is resolved.
5
- " setuptools<58.5" ,
4
+ " setuptools" ,
6
5
" wheel" ,
7
6
" Cython>=0.28.5" ,
8
7
You can’t perform that action at this time.
0 commit comments