From 7227f2ad4fa648452d61a72ca0c2343906ce2aa7 Mon Sep 17 00:00:00 2001 From: Tony Breeds Date: Wed, 21 Dec 2016 11:16:08 +1100 Subject: [PATCH] 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: Ib79448302b66ded52763037cc58261058ccda27a --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 6e662e64..bedbcf88 100644 --- a/tox.ini +++ b/tox.ini @@ -5,7 +5,7 @@ envlist = py34,py27,pep8 [testenv] 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 = VIRTUAL_ENV={envdir} NOSE_WITH_OPENSTACK=1 NOSE_OPENSTACK_COLOR=1