From 7eb463e4ba891050e881a69cb648962b0c0c400e Mon Sep 17 00:00:00 2001 From: Al Bailey Date: Wed, 30 Oct 2019 07:55:17 -0500 Subject: [PATCH] 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 --- tox.ini | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 168c0525..00481c07 100644 --- a/tox.ini +++ b/tox.ini @@ -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