From d2c2323bf840ac76a2aaf0d3ef146b80eb34de87 Mon Sep 17 00:00:00 2001 From: Pierre Riteau Date: Tue, 18 May 2021 11:09:15 +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: I98f287e4654ecb6b92d4f3815f359b205b06559a --- tox.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 9ee9ccf..47de0f0 100644 --- a/tox.ini +++ b/tox.ini @@ -45,7 +45,9 @@ commands = flake8 commands = {posargs} [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 [testenv:pdf-docs]