Respect upper-constraints.txt

To prevent pip installing the latest and greatest packages
(which may break Bareon), pin the version to those specified
in the upper-constraints.txt file from the openstack
requirements repo.

Change-Id: I44b66529c9efa611abb55a9130d9d23bb6b7f046
This commit is contained in:
Benjamin Michael Cooper 2017-08-15 11:01:06 +01:00
parent 9cacc64c59
commit c7796dc7c2
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ envlist = py27,py34,func,pep8
[testenv]
usedevelop = True
install_command = pip install --allow-external -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}
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
deps = -r{toxinidir}/requirements.txt