Add Constraints support

To be co-installable with other OpenStack projects and have consistent
testing it's a good idea (tm) to use constraints when creating tox
environments.

Change-Id: I401b0bc729101f31455ffc90b9915981498cf5b2
This commit is contained in:
Tony Breeds 2016-12-21 13:53:26 +11:00
parent e517094cfc
commit 50b212f45b
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ skipsdist = True
[testenv] [testenv]
sitepackages = True sitepackages = True
usedevelop = True usedevelop = True
install_command = pip install -U --force-reinstall {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}
PYTHONWARNINGS=default::DeprecationWarning PYTHONWARNINGS=default::DeprecationWarning