Use upper-constraint in doc generation

Currently doc jobs are broken because the latest sphinx 7.2.0 is not
compatible with the latest release of openstackdocstheme.

This updates the docs/releasenotes target to use the global upper
constraints to avoid that issue.

Conflicts:
	tox.ini

Change-Id: I7eef81e2cfc2156dd8aa076e09de4904dda6eb9a
(cherry picked from commit 8c89839e37)
This commit is contained in:
Takashi Kajinami 2023-08-21 09:46:22 +09:00 committed by Takashi Kajinami
parent 4c8ba98bd6
commit d155312846
1 changed files with 10 additions and 8 deletions

View File

@ -53,7 +53,9 @@ commands =
# This environment is called from CI scripts to test and publish
# the main docs to https://docs.openstack.org/castellan
description = Build main documentation
deps = -r{toxinidir}/doc/requirements.txt
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2024.1}
-r{toxinidir}/doc/requirements.txt
commands=
rm -rf doc/build doc/build/doctrees
sphinx-build -W -b html -d doc/build/doctrees doc/source doc/build/html