File tree 1 file changed +11
-2
lines changed 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ if $UBUNTU; then
61
61
# Mint 20.04 repsonds with 20 here so 20 instead of 20.04
62
62
UBUNTU_PRE_2004=$( echo " $LSB_RELEASE <20" | bc)
63
63
UBUNTU_2100=$( echo " $LSB_RELEASE >=21" | bc)
64
+ UBUNTU_2110_PLUS=$( echo " $LSB_RELEASE >=21.10" | bc)
64
65
fi
65
66
66
67
# Manage npm and other install requirements on an OS specific basis
166
167
# shellcheck disable=SC1091
167
168
. ./activate
168
169
# pip 20.x+ supports Linux binary wheels
169
- python -m pip install --upgrade pip
170
- python -m pip install wheel
170
+
171
+ if [ " $UBUNTU_2110_PLUS " = " true" ]; then
172
+ # https://github.com/pypa/setuptools/issues/2956
173
+ SETUPTOOLS_FOR_PIP=' setuptools<60'
174
+ else
175
+ SETUPTOOLS_FOR_PIP=' setuptools'
176
+ fi
177
+
178
+ python -m pip install --upgrade pip wheel " ${SETUPTOOLS_FOR_PIP} "
179
+
171
180
# if [ "$INSTALL_PYTHON_VERSION" = "3.8" ]; then
172
181
# This remains in case there is a diversion of binary wheels
173
182
python -m pip install --extra-index-url https://pypi.chia.net/simple/ miniupnpc==2.2.2
You can’t perform that action at this time.
0 commit comments