]> Git Repo - linux.git/commitdiff
docs: sphinx/requirements: Limit jinja2<3.1
authorAkira Yokosawa <[email protected]>
Tue, 29 Mar 2022 06:07:02 +0000 (15:07 +0900)
committerJonathan Corbet <[email protected]>
Wed, 30 Mar 2022 19:44:54 +0000 (13:44 -0600)
jinja2 release 3.1.0 (March 24, 2022) broke Sphinx<4.0.
This looks like the result of deprecating Python 3.6.
It has been tested against Sphinx 4.3.0 and later.

Setting an upper limit of <3.1 to junja2 can unbreak Sphinx<4.0
including Sphinx 2.4.4.

Signed-off-by: Akira Yokosawa <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Cc: [email protected] # v5.15+
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Corbet <[email protected]>
Documentation/sphinx/requirements.txt

index 9a35f50798a65f3c8a1f928ee46e724493a4f4b4..2c573541ab712fad55ed105aefd5adca30dcf757 100644 (file)
@@ -1,2 +1,4 @@
+# jinja2>=3.1 is not compatible with Sphinx<4.0
+jinja2<3.1
 sphinx_rtd_theme
 Sphinx==2.4.4
This page took 0.058761 seconds and 4 git commands to generate.