From 50b212f45b949bb7c479443fe88ce60f28b70999 Mon Sep 17 00:00:00 2001 From: Tony Breeds Date: Wed, 21 Dec 2016 13:53:26 +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: I401b0bc729101f31455ffc90b9915981498cf5b2 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index ddfc2db9..ed5d6572 100644 --- a/tox.ini +++ b/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