Use constraints for installing doc requirements
The docs and related tox targets were installing requirements unconstrained. This adds enforcement of upper constraints. Change-Id: Ia5bd8369d0b3facf51783236b5d1d3e9c7599c53 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
parent
46045d407c
commit
67b87e9ece
10
tox.ini
10
tox.ini
@ -4,8 +4,10 @@ skipsdist = True
|
||||
|
||||
[testenv]
|
||||
usedevelop = True
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
deps =
|
||||
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
commands = adjutant-api test {posargs}
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
|
||||
@ -34,7 +36,9 @@ commands = {posargs}
|
||||
|
||||
[testenv:docs]
|
||||
basepython = python3
|
||||
deps = -r{toxinidir}/doc/requirements.txt
|
||||
deps =
|
||||
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||
-r{toxinidir}/doc/requirements.txt
|
||||
commands =
|
||||
sphinx-build -W -b html -d doc/build/doctrees doc/source doc/build/html
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user