From e36d18124107f91a599f97bceb4a37f2c53dedcf Mon Sep 17 00:00:00 2001 From: Lukas Puehringer Date: Tue, 15 Dec 2020 19:20:57 +0100 Subject: [PATCH] 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 Signed-off-by: Lukas Puehringer --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 23ee0026..a86fba4f 100644 --- a/tox.ini +++ b/tox.ini @@ -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