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:
Adrian Vladu 2017-05-17 14:05:30 +03:00
parent a80aa83360
commit 34fb5a065f
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ skipsdist = True
[testenv]
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}
deps = -r{toxinidir}/requirements.txt