Enable legacy resolver for pip until requirements are updated

pylint zuul jobs are failing due to incompatible dependencies that
cause the new version of pip to abort.

Enabling the legacy resolver (for now) so zuul can pass, while we
fix all the requirements across the different repos.

Change-Id: I8837e1372f1901afe4e9acbfca3132b0674a876f
Related-Bug: 1907125
Co-Authored-By: albailey <Al.Bailey@windriver.com>
Signed-off-by: Don Penney <don.penney@windriver.com>
This commit is contained in:
Don Penney 2020-12-11 11:13:56 -05:00
parent 0a547ab14a
commit c13cf2a27d

View File

@ -5,7 +5,7 @@ skipsdist = True
stxdir = {toxinidir}/.. stxdir = {toxinidir}/..
[testenv] [testenv]
install_command = pip install -U \ install_command = pip install --use-deprecated legacy-resolver -U \
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/stable/stein/upper-constraints.txt} \ -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/stable/stein/upper-constraints.txt} \
{opts} {packages} {opts} {packages}
setenv = VIRTUAL_ENV={envdir} setenv = VIRTUAL_ENV={envdir}