Add upper-constraints to testenv setup
This patch constrains versions using the given constraints file[0] in the tox-testenv pip installl setup. [0] https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt Change-Id: I2c97cc3fdb2b466f69fe902cf64215dfe094ed19
This commit is contained in:
parent
171c18a9b7
commit
899acd4ab0
2
tox.ini
2
tox.ini
|
@ -3,7 +3,7 @@ envlist = py35,py34,py27,pep8,cover
|
|||
|
||||
[testenv]
|
||||
usedevelop = True
|
||||
install_command = pip install -U {opts} {packages}
|
||||
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
PYTHONDONTWRITEBYTECODE = 1
|
||||
LANGUAGE=en_US
|
||||
|
|
Loading…
Reference in New Issue