use the constraints list when installing the constraints list

Some of the dependencies may not be constrained on their own (pbr) so
use the constraints list to enforce the constraints.

Change-Id: I3ae5835d1b1b8f75608d7bb110732f9be233b13f
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2017-03-17 10:57:58 -04:00 committed by Dirk Mueller
parent a35a351fad
commit c12c13350f
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ commands =
python setup.py testr --slowest --testr-args='{posargs}'
[testenv:py27-check-uc]
install_command = pip install -U {opts} -c {toxinidir}/upper-constraints.txt {packages}
deps = -r{toxinidir}/upper-constraints.txt
commands = check-conflicts {toxinidir}/upper-constraints.txt {toxinidir}/upper-constraints-xfails.txt