From 76d1dee7b80c62172ea3900b75a47edf5b64cab4 Mon Sep 17 00:00:00 2001 From: Pavlo Shchelokovskyy Date: Thu, 25 Apr 2019 12:39:36 +0300 Subject: Use upper constraints from opendev.org oslo.cache uses a simple curl command in its tox_install.sh to fetch the upper-constraints, and curl does not follow redirects that are now in place due to move to opendev.org. This breaks running tox-based tests w/o overriding the UPPER_CONSTRAINTS_FILE which upstream CI does, for example running tox locally. Change-Id: Ifcb555c8f4ccb813b48c613c79dceb4bf23318eb (cherry picked from commit 6eceb160eaaebbc6ea04768f62876738aa61c2d1) --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 61386e9..d9d1f4d 100644 --- a/tox.ini +++ b/tox.ini @@ -7,7 +7,7 @@ setenv = VIRTUAL_ENV={envdir} BRANCH_NAME=master CLIENT_NAME=oslo.log -install_command = {toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/pike} {opts} {packages} +install_command = {toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/stable/pike/upper-constraints.txt} {opts} {packages} deps = -r{toxinidir}/test-requirements.txt -e.[fixtures] commands = -- cgit v1.2.1