From 6c40994589ee39fcc768f16305a2d2f2648f78b0 Mon Sep 17 00:00:00 2001 From: Iswarya_Vakati Date: Fri, 21 Oct 2016 10:27:12 +0530 Subject: [PATCH] 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 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 84288ac..0357667 100644 --- a/tox.ini +++ b/tox.ini @@ -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