From 3c6023068b08143917a66edae44e81332cc8142b Mon Sep 17 00:00:00 2001 From: Steve McLellan Date: Wed, 28 Sep 2016 11:30:15 -0500 Subject: [PATCH] Use upper-constraints for tox envs Pin tox environments to upper-constraints to avoid conflicts with library releases. Change-Id: Iad1beeaa57895e7b7f003b35c70408387a83e0d1 Closes-Bug: #1628597 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 441474a9..6b5ffe4e 100644 --- a/tox.ini +++ b/tox.ini @@ -6,7 +6,7 @@ skipsdist = True [testenv] setenv = VIRTUAL_ENV={envdir} 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} -U {opts} {packages} deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands =