Use upper-constraints for tox envs

Pin tox environments to upper-constraints to avoid conflicts with
library releases.

Change-Id: I81326fd7defae7a858cb3b4b2e80d45110ff92e3
This commit is contained in:
Rajiv Kumar 2017-01-12 10:00:07 +05:30
parent 42cd7efd2c
commit 78f07707cb
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ skipsdist = True
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
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
commands = python setup.py testr --slowest --testr-args='{posargs}'