From 7e9c2e2304efb7f0c76f5d1ccb05a6bf28d73852 Mon Sep 17 00:00:00 2001 From: Sean McGinnis Date: Fri, 22 Mar 2019 10:38:22 -0500 Subject: [PATCH] Fix lower-constraint deps handling When the lower-constraints tox target was added, it was assumed the install_command was just running the install and that the dependencies and constraints were being set using "deps = ". This fixed the install_command and deps to follow the expected pattern so the lower-constraints job actual does install the lower constraints. Change-Id: Ibb93f81ed23833f64730ca851a88114d4f0e0e63 Signed-off-by: Sean McGinnis --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index f80da0c..9ce0ddc 100644 --- a/tox.ini +++ b/tox.ini @@ -5,11 +5,12 @@ envlist = py35,py27,pep8 [testenv] usedevelop = True -install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages} +install_command = pip install {opts} {packages} setenv = VIRTUAL_ENV={envdir} DJANGO_SETTINGS_MODULE=solumdashboard.tests.settings deps = + -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt