Use upper-constraints

Using upper-constraints in the keystone-specs tox environment ensures
that libraries go through validation in the requirements project and
don't break our CI.

Change-Id: Ic38c11bec5fe50c7fff7c1f4dec86504a29ba222
This commit is contained in:
Colleen Murphy 2019-07-22 11:45:49 -07:00
parent 4f1bf7ddef
commit 1114308f1a
1 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,8 @@ skipsdist = True
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
install_command = pip install -U {opts} {packages}
deps = -r{toxinidir}/requirements.txt
deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt
commands =
stestr run --slowest {posargs}
doc8 specs/