From 1b34a81d919d138ca24ee3664bfd5e84634e0c40 Mon Sep 17 00:00:00 2001 From: Pierre Riteau Date: Tue, 18 May 2021 11:09:52 +0200 Subject: [PATCH] Fix PDF docs build Update tox config to include upper-constraints as dependencies. This resolves issues with building PDF docs. Change-Id: I7d6789cecfeb432e0a0c38f996f559c24c85ca03 --- tox.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tox.ini b/tox.ini index 19ad5c2..8a87fbc 100644 --- a/tox.ini +++ b/tox.ini @@ -13,10 +13,14 @@ deps = -r{toxinidir}/doc/requirements.txt commands = {posargs} [testenv:docs] +deps = + -c{env:TOX_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] basepython = python3 +deps = {[testenv:docs]deps} whitelist_externals = make commands = sphinx-build -b latex doc/source doc/build/pdf