Bump minimum Sphinx version

This is a little more realistic. Sphinx 6.0.0 was released in December
2022 [1]. In the absence of a lower-constraints job, I manually tested
that our own docs still build with this version.

[1] https://pypi.org/project/Sphinx/6.0.0/

Change-Id: I62dcc47b7053deb46139ca1f46c0d8e6fc2720d6
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane 2024-08-29 10:45:15 +01:00
parent f00d211328
commit 052ed8e119
2 changed files with 2 additions and 6 deletions

View File

@ -19,7 +19,6 @@ import textwrap
import dulwich.repo
from pbr import packaging
import sphinx
from sphinx.ext import extlinks
from sphinx.util import logging
@ -330,10 +329,7 @@ def _setup_link_roles(app):
url,
)
if sphinx.version_info >= (4, 0, 0):
role = extlinks.make_link_role(project_name, url, project_name)
else:
role = extlinks.make_link_role(url, project_name)
app.add_role(role_name, role)

View File

@ -1,3 +1,3 @@
pbr!=2.1.0,>=2.0.0 # Apache-2.0
dulwich>=0.15.0 # Apache-2.0
sphinx>=2.0.0,!=2.1.0 # BSD
sphinx>=6.0.0 # BSD