Use upper-constraints for tox envs
Pin tox environments to upper-constraints to avoid conflicts with library releases. Change-Id: Iad1beeaa57895e7b7f003b35c70408387a83e0d1 Closes-Bug: #1628597
This commit is contained in:
parent
8c0cefb135
commit
3c6023068b
2
tox.ini
2
tox.ini
|
@ -6,7 +6,7 @@ skipsdist = True
|
||||||
[testenv]
|
[testenv]
|
||||||
setenv = VIRTUAL_ENV={envdir}
|
setenv = VIRTUAL_ENV={envdir}
|
||||||
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} -U {opts} {packages}
|
||||||
deps = -r{toxinidir}/requirements.txt
|
deps = -r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
commands =
|
commands =
|
||||||
|
|
Loading…
Reference in New Issue