Work around pypa/pip#9215 with old resolver

Configure tox to use legacy resolver as a temporary workaround
for pypa/pip#9215, which results in huge unnecessary downloads.

Co-authored-by: Jussi Kukkonen <jkukkonen@vmware.com>
Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
This commit is contained in:
Lukas Puehringer 2020-12-15 19:20:57 +01:00
parent ad8bb8a7a0
commit e36d181241

View file

@ -23,7 +23,8 @@ deps =
# installation (see `skipsdist`), to get relative paths in coverage reports
--editable {toxinidir}
install_command = pip install --pre {opts} {packages}
# FIXME: use legacy resolver because https://github.com/pypa/pip/issues/9215
install_command = pip install --use-deprecated=legacy-resolver --pre {opts} {packages}
# Develop test env to run tests against securesystemslib's master branch