From b5cec0086a131c9b83cadefa948c6658fff0b566 Mon Sep 17 00:00:00 2001 From: Leontii Istomin Date: Tue, 22 Aug 2023 11:04:52 -0500 Subject: [PATCH] Use Sphinx less than 7.2.0 Change-Id: I82cbd25a83276c0962125a8ebce4b30f529a0640 --- doc/requirements.txt | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index f81e30a0c..f6621cf11 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -1,7 +1,16 @@ # The order of packages is significant, because pip processes them in the order # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. -sphinx>=2.0.0,!=2.1.0 # BSD + +# Workaround till we are waiting for openstackdocstheme=3.1.2. +# Specifically https://review.opendev.org/c/openstack/openstackdocstheme/+/891678/1/openstackdocstheme/page_context.py +# The simptoms for "tox run -- testenv:docs": +# Extension error (openstackdocstheme.page_context): +# Handler for event 'html-page-context' threw an exception (exception: object of type 'PosixPath' has no len()) +# openstackdocstheme>=3.1.2 # Apache-2.0 +# sphinx>=2.0.0,!=2.1.0 # BSD +sphinx<7.2.0 # BSD +# End of the workaround sphinxcontrib-blockdiag>=1.1.0 openstackdocstheme>=2.2.1 # Apache-2.0 -reno>=3.1.0 # Apache-2.0 +reno>=3.1.0 # Apache-2.0 \ No newline at end of file