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:
Debayan Ray 2017-04-07 04:29:27 -04:00
parent 171c18a9b7
commit 899acd4ab0
1 changed files with 1 additions and 1 deletions

View File

@ -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