Use upper-constraints for tox envs

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

Depends-On: I72a5733adf53cf21d081f5efc988185eeafbdf56
Change-Id: Iffa0b9a34b13fe497c8e71656a3659ecf973c60f
Closes-Bug:#1628597
This commit is contained in:
Iswarya_Vakati 2016-10-21 10:27:12 +05:30 committed by Saad Zaher
parent 9092213aa7
commit 6c40994589
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ setenv = VIRTUAL_ENV={envdir}
NOSE_OPENSTACK_RED=0.05
NOSE_OPENSTACK_YELLOW=0.025
NOSE_OPENSTACK_SHOW_ELAPSED=1
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} -U {opts} {packages}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
http://tarballs.openstack.org/horizon/horizon-master.tar.gz