Use upper-constraints for tox envs

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

Change-Id: I471c6929a058ccc41f3a8a3cdcf9c3b3f7a3518a
Closes-Bug: #1628597
This commit is contained in:
pawnesh.kumar 2016-10-12 15:41:11 +05:30
parent 103621479d
commit 0ce0ba5292
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ skipsdist = 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 = setenv =
VIRTUAL_ENV={envdir} VIRTUAL_ENV={envdir}
DISCOVER_DIRECTORY=distil/tests/unit DISCOVER_DIRECTORY=distil/tests/unit