Fix tox.ini to use new constraints list management style

Release is failing due to using out-dated constraints management.
Reference: https://review.openstack.org/#/c/524496/1/tox.ini

Change-Id: I946c4dad65a32a20cf6372844f2b15ba01646d4b
(cherry picked from commit 566dc85cca)
This commit is contained in:
Brad P. Crochet 2018-01-30 08:12:14 -05:00 committed by Sean McGinnis
parent ab93854e49
commit ca7fce0394
1 changed files with 5 additions and 4 deletions

View File

@ -5,10 +5,11 @@ skipsdist = True
[testenv]
usedevelop = True
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/pike} {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt
install_command = pip install {opts} {packages}
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/pike}
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
commands = python setup.py test --slowest --testr-args='{posargs}'
[testenv:pep8]