From 0ce0ba52920095c0ce1a23346181ab9ad5ac8c40 Mon Sep 17 00:00:00 2001 From: "pawnesh.kumar" Date: Wed, 12 Oct 2016 15:41:11 +0530 Subject: [PATCH] Use upper-constraints for tox envs Pin tox environments to upper-constraints to avoid conflicts with library releases. Change-Id: I471c6929a058ccc41f3a8a3cdcf9c3b3f7a3518a Closes-Bug: #1628597 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 16c62d1..05c4789 100644 --- a/tox.ini +++ b/tox.ini @@ -5,7 +5,7 @@ skipsdist = True [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} DISCOVER_DIRECTORY=distil/tests/unit