Fetch upper constraints from opendev.org

the imagebuild/common/generate_upper_constraints.sh
is currently failing as the curl command in this file does not
handle redirects.

Instead of allowing redirects, use the proper current link to the
upper constraints file.

Change-Id: I92c5bfa65ba149687f61172c2a89ff38660a58cf
(cherry picked from commit 93dae93d52)
This commit is contained in:
Pavlo Shchelokovskyy 2019-04-22 14:42:59 +03:00
parent 085c5be202
commit ae02ce51fc
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ envlist = py3,py27,functional,pep8
[testenv]
usedevelop = True
install_command = pip install -U -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/queens} {opts} {packages}
install_command = pip install -U -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/stable/queens/upper-constraints.txt} {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
PYTHONDONTWRITEBYTECODE = 1