From 3893cd7a7dba21b76106396b3cfbe35fd5d43e28 Mon Sep 17 00:00:00 2001 From: Don Penney Date: Tue, 25 Jun 2019 13:42:11 -0400 Subject: [PATCH] Update tox.ini files to use stein constraints This updates the upper-constraints.txt used by tox for installing python modules to reference the stable/stein constraints. Change-Id: If3880fba415ce3023e497ff557efae1b2b65ccff Partial-Bug: 1834216 Signed-off-by: Don Penney --- nfv/tox.ini | 4 +++- nova-api-proxy/tox.ini | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/nfv/tox.ini b/nfv/tox.ini index 59c7e35a..62c5a52f 100755 --- a/nfv/tox.ini +++ b/nfv/tox.ini @@ -16,7 +16,9 @@ stxdir = {toxinidir}/../.. [testenv] recreate = True -install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/upper-constraints.txt} {opts} {packages} +install_command = pip install \ + -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/stable/stein/upper-constraints.txt} \ + {opts} {packages} whitelist_externals = cp [nfv] diff --git a/nova-api-proxy/tox.ini b/nova-api-proxy/tox.ini index d72ce7c4..7d9a55a6 100644 --- a/nova-api-proxy/tox.ini +++ b/nova-api-proxy/tox.ini @@ -5,7 +5,9 @@ skipsdist = True [testenv] basepython = python3 -install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/pike} {opts} {packages} +install_command = pip install \ + -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/stable/stein/upper-constraints.txt} \ + {opts} {packages} setenv = VIRTUAL_ENV={envdir} OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1