[Python-checkins] bpo-47138: Fix documentation build by pinning Jinja version to 3.0.3 (GH-32111)

ned-deily webhook-mailer at python.org
Mon Mar 28 13:05:11 EDT 2022


https://github.com/python/cpython/commit/25f00bfb264a3197ac91c41cdec15036fd8401f1
commit: 25f00bfb264a3197ac91c41cdec15036fd8401f1
branch: 3.7
author: m-aciek <maciej.olko at gmail.com>
committer: ned-deily <nad at python.org>
date: 2022-03-28T13:05:01-04:00
summary:

bpo-47138: Fix documentation build by pinning Jinja version to 3.0.3 (GH-32111)

files:
A Misc/NEWS.d/next/Documentation/2022-03-28-12-39-20.bpo-47138.TEZRwC.rst
M Doc/Makefile

diff --git a/Doc/Makefile b/Doc/Makefile
index 1393bcb52500e..1b8cbfa479e50 100644
--- a/Doc/Makefile
+++ b/Doc/Makefile
@@ -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
index 0000000000000..aa3ed79d5e29c
--- /dev/null
+++ b/Misc/NEWS.d/next/Documentation/2022-03-28-12-39-20.bpo-47138.TEZRwC.rst
@@ -0,0 +1 @@
+Pin Jinja to a version compatible with Sphinx version 2.3.1.



More information about the Python-checkins mailing list