mirror of
https://github.com/torvalds/linux.git
synced 2026-11-06 21:58:01 +01:00
docs: test_doc_build: update it to support newer Sphinx versions
Current version is 9.1.0. Update the script to handle it. As there were python deprecations on newer versions, add support for those. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Message-ID: <ea7c1a2a8b5adecc2f4d9ccee7ef1f32fa8d0d78.1792053090.git.mchehab+huawei@kernel.org>
This commit is contained in:
parent
5a5021d08b
commit
8aabf70519
|
|
@ -51,6 +51,8 @@ def get_min_python_bin(min_subver):
|
|||
PYTHON_VER_CHANGES = {
|
||||
(3, 4, 3): (3, MIN_PYTHON_SUBVER),
|
||||
(8, 0, 0): (3, 10),
|
||||
(8, 1, 0): (3, 11),
|
||||
(9, 1, 0): (3, 12),
|
||||
}
|
||||
|
||||
DEFAULT_VERSIONS_TO_TEST = [
|
||||
|
|
@ -61,8 +63,9 @@ DEFAULT_VERSIONS_TO_TEST = [
|
|||
(7, 2, 6), # Ubuntu 24.04 LTS
|
||||
(7, 4, 7), # Ubuntu 24.10
|
||||
(7, 3, 0), # openSUSE Tumbleweed
|
||||
(8, 1, 3), # Fedora 42
|
||||
(8, 2, 3) # Latest version - covers rolling distros
|
||||
(8, 1, 3), # Debian 13
|
||||
(8, 2, 3), # Ubuntu 26.04 LTS / Fedora 44
|
||||
(9, 1, 0), # Latest version
|
||||
]
|
||||
|
||||
# Sphinx versions to be installed and their incremental requirements
|
||||
|
|
@ -178,6 +181,10 @@ SPHINX_REQUIREMENTS = {
|
|||
"PyYAML": "6.0.1",
|
||||
"sphinxcontrib-serializinghtml": "1.1.9",
|
||||
},
|
||||
# from https://raw.githubusercontent.com/sphinx-doc/sphinx/v9.0.0/pyproject.toml
|
||||
(9, 0, 0): {
|
||||
"roman-numerals": "1.0.0",
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user