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

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


https://github.com/python/cpython/commit/25c40bd994aa0da75283c5efdd71ba26c734b67e
commit: 25c40bd994aa0da75283c5efdd71ba26c734b67e
branch: 3.9
author: Hugo van Kemenade <hugovk at users.noreply.github.com>
committer: ned-deily <nad at python.org>
date: 2022-03-28T13:19:56-04:00
summary:

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

Co-authored-by: Maciej Olko <maciej.olko at gmail.com>

files:
A Misc/NEWS.d/next/Documentation/2022-03-28-12-32-17.bpo-47138.TbLXgV.rst
M Doc/requirements.txt

diff --git a/Doc/requirements.txt b/Doc/requirements.txt
index 1b75aed035ac9..cf659a0fbac2e 100644
--- a/Doc/requirements.txt
+++ b/Doc/requirements.txt
@@ -8,6 +8,8 @@ sphinx==2.4.4
 # version 2.4.4. It can be removed after bumping Sphinx version to at
 # least 3.5.4.
 docutils==0.17.1
+# Jinja version is pinned to a version compatible with Sphinx version 2.4.4.
+jinja2==3.0.3
 
 blurb
 
diff --git a/Misc/NEWS.d/next/Documentation/2022-03-28-12-32-17.bpo-47138.TbLXgV.rst b/Misc/NEWS.d/next/Documentation/2022-03-28-12-32-17.bpo-47138.TbLXgV.rst
new file mode 100644
index 0000000000000..9dde4de2dc8b5
--- /dev/null
+++ b/Misc/NEWS.d/next/Documentation/2022-03-28-12-32-17.bpo-47138.TbLXgV.rst
@@ -0,0 +1 @@
+Pin Jinja to a version compatible with Sphinx version 2.4.4.



More information about the Python-checkins mailing list