Skip to content

Commit 526beb4

Browse files
committed
Use sphinx~=8.0.0 as intended
8.1 introduces the built-in cvw/cwe roles. During the migration the requirement was bumped to 8.1 while trying to sort out a problem with the pypi role, which turned out to be the cpython submodule not being committed/pushed properly earlier, and hence the update wasn't necessary (and broke things). Signed-off-by: Rodrigo Tobar <[email protected]>
1 parent 9a478e3 commit 526beb4

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

conf.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,6 @@
2929
sys.path.insert(0, os.path.abspath('cpython/Doc'))
3030
from conf import *
3131

32-
# FIXME
33-
# For fixing the warnings that state that 'cwe', 'cve' roles are already
34-
# defined.
35-
#
36-
# WARNING: role 'cve' is already registered, it will be overridden [app.add_role]
37-
# WARNING: role 'cwe' is already registered, it will be overridden [app.add_role]
38-
del extlinks["cwe"]
39-
del extlinks["cve"]
40-
4132
# Call patchlevel with the proper path to get the version from
4233
# instead of hardcoding it
4334
from patchlevel import get_version_info

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ sphinx-lint==0.7.0
1616
tabulate
1717

1818
# from cpython/Doc/requirements.txt
19-
sphinx~=8.1.0
19+
sphinx~=8.0.0
2020

2121
blurb
2222

0 commit comments

Comments
 (0)