From 867e72244e859d70804a756ad979ffc2d6295869 Mon Sep 17 00:00:00 2001 From: pallavi Date: Wed, 5 Oct 2016 16:45:03 +0530 Subject: [PATCH] Use upper-constraints for tox envs Pin tox environments to upper-constraints to avoid conflicts with library releases. Change-Id: Ib00098823d017eb604733026a879fa7ce97117a9 Closes-Bug: #1628597 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 707487ea..f060fedd 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} -U {opts} {packages} setenv = VIRTUAL_ENV={envdir} OS_TEST_PATH=./karbor/tests/unit