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:
parent
e517094cfc
commit
50b212f45b
2
tox.ini
2
tox.ini
|
@ -6,7 +6,7 @@ skipsdist = True
|
|||
[testenv]
|
||||
sitepackages = 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 =
|
||||
VIRTUAL_ENV={envdir}
|
||||
PYTHONWARNINGS=default::DeprecationWarning
|
||||
|
|
Loading…
Reference in New Issue