Use the openstack upper requirements
If the requirements and test requirements are not pinned, there can be failures when the pypi repos are updates with packages that are not backwards compatible. By using OpenStack's upper requirements, this issue is mitigated. Change-Id: I96b7f810644c3179979057f7e1f137b12e487f16
This commit is contained in:
parent
a80aa83360
commit
34fb5a065f
2
tox.ini
2
tox.ini
@ -5,7 +5,7 @@ skipsdist = True
|
|||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
usedevelop = True
|
usedevelop = True
|
||||||
install_command = pip install -U --force-reinstall {opts} {packages}
|
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} -U --force-reinstall {opts} {packages}
|
||||||
setenv = VIRTUAL_ENV={envdir}
|
setenv = VIRTUAL_ENV={envdir}
|
||||||
|
|
||||||
deps = -r{toxinidir}/requirements.txt
|
deps = -r{toxinidir}/requirements.txt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user