summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavlo Shchelokovskyy <shchelokovskyy@gmail.com>2019-04-25 12:39:36 +0300
committerPavlo Shchelokovskyy <shchelokovskyy@gmail.com>2019-04-25 12:50:46 +0300
commit4a655241e87fc908b36fab8fa480e33406bed7bd (patch)
tree04867153ccd5b2d4f8a6ebb16d40896309c5a655
parentafebcd03f77bf2853fcf50ccb8dbf6f5ab5a6161 (diff)
downloadoslo-log-4a655241e87fc908b36fab8fa480e33406bed7bd.tar.gz
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)
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 371ad30..69cd7f0 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/queens} {opts} {packages}
+install_command = {toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/stable/queens/upper-constraints.txt} {opts} {packages}
deps = -r{toxinidir}/test-requirements.txt
-e.[fixtures]
commands =