From 6dfd5da306ce10635d8a9c0ac0f0cd7f19556421 Mon Sep 17 00:00:00 2001 From: Rodolfo Alonso Hernandez Date: Wed, 1 Mar 2023 23:53:57 +0100 Subject: [PATCH] Docs build: Add requirements.txt to deps Since we use usedevelop=True, as a result os-ken installation happens at 'develop-inst' phase and it installs requirements from requirements.txt without considering tox constraints. This can lead to issue where broken requirements are installed in docs job and as a result it will fail. In order to get constraints be considered for this case, add requirements.txt to deps for docs env. Change-Id: Id2975423df7d7c643f10f25e64d61d3680fcb38b --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 2426e1d5..34a13c79 100644 --- a/tox.ini +++ b/tox.ini @@ -39,6 +39,7 @@ commands = deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -r{toxinidir}/doc/requirements.txt + -r{toxinidir}/requirements.txt commands = sphinx-build -W -b html doc/source doc/build/html [testenv:pdf-docs]