Switch to the new tox constraints file usage and location

The new name exported is TOX_CONSTRAINTS_FILE, as set by
https://review.opendev.org/#/c/657886/ and we should no
longer link to git.openstack.org directly but use the releases.o.org
redirect for determining the proper location of upper constraints.txt

Change-Id: I8181b94bdcbdc65127e356bf2617ba47b63bd390
This commit is contained in:
Dirk Mueller 2019-06-14 14:48:00 +02:00
parent 3ba51d9f76
commit ccf9a89ccd
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ envlist = py35,py34,py27,pep8
[testenv]
usedevelop = True
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
install_command = pip install -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
PYTHONDONTWRITEBYTECODE = 1
LANGUAGE=en_US