Use upper-constraints for tox envs

Pin tox environments to upper-constraints to avoid conflicts with
library releases.

Change-Id: Ic8fb315f7cabe90e6f0efe3c005f5c80d3340b0d
Closes-Bug: #1628597
This commit is contained in:
avnish 2017-01-12 09:41:38 +05:30
parent 25db717aa4
commit 89186e24be
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ skipdist = True
[testenv] [testenv]
usedevelop = True 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} setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt deps = -r{toxinidir}/test-requirements.txt