From 221a5caa56e0bfc795278f54a56167d95efd9e62 Mon Sep 17 00:00:00 2001 From: Pierre Riteau Date: Mon, 3 Oct 2022 16:34:02 +0200 Subject: [PATCH] [docs] Install cloudkitty requirements using constraints The deps configuration for the docs environment only uses upper constraints for doc/requirements.txt. However, cloudkitty also gets installed automatically without upper constraints, which produces various errors on older branches. Install cloudkitty requirements using constraints to fix this issue. Change-Id: Ia6f12151be829be6d2f21b3536536697345e05f4 (cherry picked from commit 386f086a8bed7ee7ce4fdf4e106c1b138d7e7ab8) --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 44ecb7ed..604407d4 100644 --- a/tox.ini +++ b/tox.ini @@ -52,6 +52,7 @@ commands = oslopolicy-sample-generator --config-file=etc/oslo-policy-generator/c [testenv:docs] deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/yoga} + -r{toxinidir}/requirements.txt -r{toxinidir}/doc/requirements.txt commands = sphinx-build -W --keep-going -b html doc/source doc/build/html