summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorm-aciek <maciej.olko@gmail.com>2022-03-28 19:05:01 +0200
committerGitHub <noreply@github.com>2022-03-28 13:05:01 -0400
commit25f00bfb264a3197ac91c41cdec15036fd8401f1 (patch)
treef3d6018a48a1ad445500ececd799e4b47588f625
parentd4a93e4de17ed8c2334fc72ca4cee737c3b738ec (diff)
downloadcpython-git-25f00bfb264a3197ac91c41cdec15036fd8401f1.tar.gz
bpo-47138: Fix documentation build by pinning Jinja version to 3.0.3 (GH-32111)
-rw-r--r--Doc/Makefile2
-rw-r--r--Misc/NEWS.d/next/Documentation/2022-03-28-12-39-20.bpo-47138.TEZRwC.rst1
2 files changed, 2 insertions, 1 deletions
diff --git a/Doc/Makefile b/Doc/Makefile
index 1393bcb525..1b8cbfa479 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 0000000000..aa3ed79d5e
--- /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.