Use upper-constraints for tox envs
Pin tox environments to upper-constraints to avoid conflicts with library releases. Change-Id: Ic8fb315f7cabe90e6f0efe3c005f5c80d3340b0d Closes-Bug: #1628597
This commit is contained in:
parent
25db717aa4
commit
89186e24be
2
tox.ini
2
tox.ini
|
@ -5,7 +5,7 @@ skipdist = True
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
usedevelop = True
|
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}
|
setenv = VIRTUAL_ENV={envdir}
|
||||||
deps = -r{toxinidir}/test-requirements.txt
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue