Fix PDF docs build

Update tox config to include upper-constraints as dependencies. This
resolves issues with building PDF docs.

Change-Id: I98f287e4654ecb6b92d4f3815f359b205b06559a
This commit is contained in:
Pierre Riteau
2021-05-18 11:09:15 +02:00
parent 67fae0ff52
commit d2c2323bf8

View File

@@ -45,7 +45,9 @@ commands = flake8
commands = {posargs} commands = {posargs}
[testenv:docs] [testenv:docs]
deps = -r{toxinidir}/doc/requirements.txt deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt
commands = sphinx-build --keep-going -b html doc/source doc/build/html commands = sphinx-build --keep-going -b html doc/source doc/build/html
[testenv:pdf-docs] [testenv:pdf-docs]