Force setuptools version tp <58.0.0

see https://setuptools.pypa.io/en/latest/history.html#v58-0-0
This commit is contained in:
Antoine Nguyen
2021-09-22 17:05:00 +02:00
parent 5b506a2eb9
commit 16b66a0200
2 changed files with 2 additions and 2 deletions

View File

@@ -76,4 +76,4 @@ def setup_virtualenv(path, sudo_user=None, python_version=2):
utils.exec_cmd("virtualenv {}".format(path))
else:
utils.exec_cmd("{} -m venv {}".format(python_binary, path))
install_packages(["pip", "setuptools"], venv=path, upgrade=True)
install_packages(["pip", "setuptools\<58.0.0"], venv=path, upgrade=True)