diff options
author | Vegard Nossum <vegard.nossum@oracle.com> | 2024-01-10 11:46:46 +0100 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2024-01-11 17:17:23 +0100 |
commit | 1f4cac0f7465830a17a266983acbd60a2ce7ee6f (patch) | |
tree | 3f8c006a114f56b1fc3f8bf14a648c1f4baa57c2 /Documentation/sphinx | |
parent | MAINTAINERS: use tabs for indent of CONFIDENTIAL COMPUTING THREAT MODEL (diff) | |
download | linux-1f4cac0f7465830a17a266983acbd60a2ce7ee6f.tar.xz linux-1f4cac0f7465830a17a266983acbd60a2ce7ee6f.zip |
Documentation: constrain alabaster package to older versions
The 'alabaster' theme dropped support for Sphinx < v3.4:
0.7.14 – 2024-01-08
* Dropped support for Python 3.8 and earlier.
* Dropped support for Sphinx 3.3 and earlier.
[...]
(Source: https://alabaster.readthedocs.io/en/latest/changelog.html)
This manifests as an error when running 'make htmldocs' in a virtualenv
constructed from Documentation/sphinx/requirements.txt:
Sphinx version error:
The alabaster extension used by this project needs at least Sphinx v3.4; it therefore cannot be built with this version.
Raising the Sphinx version is not really a good option at this point,
since 3.x through 6.x have horrible performance regressions (7.x still
does, but not quite as bad).
Instead, constrain the 'alabaster' package to versions that still support
Sphinx 2.4.4.
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Link: https://lore.kernel.org/r/20240110104646.3647600-1-vegard.nossum@oracle.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/sphinx')
-rw-r--r-- | Documentation/sphinx/requirements.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/sphinx/requirements.txt b/Documentation/sphinx/requirements.txt index 335b53df35e2..6b0a981dcb2c 100644 --- a/Documentation/sphinx/requirements.txt +++ b/Documentation/sphinx/requirements.txt @@ -1,3 +1,5 @@ # jinja2>=3.1 is not compatible with Sphinx<4.0 jinja2<3.1 +# alabaster>=0.7.14 is not compatible with Sphinx<=3.3 +alabaster<0.7.14 Sphinx==2.4.4 |