]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-47138: Fix documentation build by pinning Jinja version to 3.0.3 (GH-32111)
authorm-aciek <maciej.olko@gmail.com>
Mon, 28 Mar 2022 17:05:01 +0000 (19:05 +0200)
committerGitHub <noreply@github.com>
Mon, 28 Mar 2022 17:05:01 +0000 (13:05 -0400)
Doc/Makefile
Misc/NEWS.d/next/Documentation/2022-03-28-12-39-20.bpo-47138.TEZRwC.rst [new file with mode: 0644]

index 1393bcb52500e460386f5ce5ec616be71472cac1..1b8cbfa479e50f6638d612a6f95027b6079e78b5 100644 (file)
@@ -127,7 +127,7 @@ clean:
 
 venv:
        $(PYTHON) -m venv $(VENVDIR)
-       $(VENVDIR)/bin/python3 -m pip install -U Sphinx==2.3.1 blurb docutils==0.17.1
+       $(VENVDIR)/bin/python3 -m pip install -U Sphinx==2.3.1 blurb docutils==0.17.1 Jinja2==3.0.3
        @echo "The venv has been created in the $(VENVDIR) directory"
 
 dist:
diff --git a/Misc/NEWS.d/next/Documentation/2022-03-28-12-39-20.bpo-47138.TEZRwC.rst b/Misc/NEWS.d/next/Documentation/2022-03-28-12-39-20.bpo-47138.TEZRwC.rst
new file mode 100644 (file)
index 0000000..aa3ed79
--- /dev/null
@@ -0,0 +1 @@
+Pin Jinja to a version compatible with Sphinx version 2.3.1.