pdf-docs: use UPPER_CONSTRAINTS_FILE for doc build
UPPER_CONSTRAINTS_FILE was not used for testenv:docs, and a recent sphinx release seems to break pdf doc build, to avoid it use upper constraints in tox.ini Change-Id: Ica52306c9c2ca2d64161b09317735ed740bd4d32
This commit is contained in:
parent
3ddf69bd5e
commit
5312d23b43
4
tox.ini
4
tox.ini
@ -38,7 +38,9 @@ commands =
|
||||
coverage xml -o cover/coverage.xml
|
||||
|
||||
[testenv:docs]
|
||||
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 doc/source doc/build/html
|
||||
|
||||
[testenv:pdf-docs]
|
||||
|
Loading…
Reference in New Issue
Block a user