Fix failing tox for stx-gui due to keyring imports from sysinv

keyring is required by sysinv, however the upper-constraints were
not being used in stx-gui, so it was pulling in a version of
keyring that is incompatible with the STX env.

This aligns the stx-gui upper constraints to be the same as the
other platform components.

Change-Id: I2d4a2f7a61c65e2753d376865e9112aa93948a35
Related-Bug: 1848786
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
This commit is contained in:
Al Bailey 2019-10-30 07:55:17 -05:00
parent 57d102dc77
commit 7eb463e4ba
1 changed files with 5 additions and 1 deletions

View File

@ -7,7 +7,11 @@ stxdir = {toxinidir}/..
# Note: STX_DC_CLIENT is set by zuul to be distcloud-client, it is
# defaulted here to the path that works in developer environments
[testenv]
install_command = pip install -U {opts} {packages}
install_command = pip install \
-v -v -v \
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/stable/stein/upper-constraints.txt} \
-U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
OS_STDOUT_CAPTURE=1
OS_STDERR_CAPTURE=1