Add upper constraints

py27 is currently broken due to a Sphinx failure that is resolved if you
properly include the upper constraints.

Change-Id: I4bcafb92bd307fe469bcab4db760d4245ceecb76
(cherry picked from commit 98368f114f)
This commit is contained in:
Alex Schultz 2019-05-20 13:26:44 -06:00
parent a34312e56b
commit fe6b426572
1 changed files with 3 additions and 1 deletions

View File

@ -6,7 +6,9 @@ envlist = py27,pep8
[testenv]
usedevelop = True
install_command = pip install {opts} {packages}
deps = -r{toxinidir}/requirements.txt
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/stable/queens}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands=
python setup.py testr --slowest --testr-args='{posargs}'