From 95c789736705235298b30bb21087c9fb2282b290 Mon Sep 17 00:00:00 2001 From: Drew Thorstensen Date: Mon, 31 Oct 2016 09:37:03 -0400 Subject: [PATCH] Use upper constraints This changes the tox command to use the upper constraints. This will avoid known issues with newer versions of the library. Change-Id: I85a03fc40356ca1493d6dcf550f63f0deba8dd84 Closes-Bug: 1637938 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index c066b8e..3f405b4 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} PYTHONHASHSEED=0 deps = -r{toxinidir}/requirements.txt