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
This commit is contained in:
parent
bb1e30ce4f
commit
3eded6ba37
2
tox.ini
2
tox.ini
@ -8,7 +8,7 @@ usedevelop = True
|
|||||||
install_command = pip install -U {opts} {packages}
|
install_command = pip install -U {opts} {packages}
|
||||||
setenv =
|
setenv =
|
||||||
VIRTUAL_ENV={envdir}
|
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 =
|
deps =
|
||||||
{env:CONSTRAINTS_OPT}
|
{env:CONSTRAINTS_OPT}
|
||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user