From 3eded6ba37321d9f09fea76ea323d52b419d9a3a Mon Sep 17 00:00:00 2001 From: Rodolfo Alonso Hernandez <“ralonso@redhat.com”> Date: Thu, 20 Sep 2018 17:27:22 +0100 Subject: [PATCH] Fix upper-constraints link in tox file In some environments, if the upper-constraints file is not joined to the "-c" option in tox, an error is raised when executing tox. Change-Id: I715fe6dd91d3b860212b2368fdb2b9f610926908 Closes-Bug: #1793562 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index fced0742..84d5a9a4 100644 --- a/tox.ini +++ b/tox.ini @@ -8,7 +8,7 @@ usedevelop = True install_command = pip install -U {opts} {packages} setenv = VIRTUAL_ENV={envdir} - CONSTRAINTS_OPT=-c {env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} + CONSTRAINTS_OPT=-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} deps = {env:CONSTRAINTS_OPT} -r{toxinidir}/requirements.txt