Browse Source

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>
tags/v3.0.0.rc0
Al Bailey 1 year ago
parent
commit
7eb463e4ba
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      tox.ini

+ 5
- 1
tox.ini 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


Loading…
Cancel
Save