diff --git a/scripts/setup_pip.sh b/scripts/setup_pip.sh index be23b35..8cd22ee 100755 --- a/scripts/setup_pip.sh +++ b/scripts/setup_pip.sh @@ -29,6 +29,9 @@ source ${PIPBOOTSTRAP}/bin/activate # Upgrade virtualenv, version 20 breaks with missing setuptools pip install --upgrade ${PIP_ARGS} 'virtualenv<20' +# Restrict setuptools, version 58 breaks for use_2to3 +pip install --upgrade ${PIP_ARGS} 'setuptools<58' + # Forget the cached locations of python binaries hash -r