From a9f46acf4583fd57c33e238820922ffbfb9be1c5 Mon Sep 17 00:00:00 2001 From: Brian Neradt Date: Tue, 29 Mar 2022 13:33:50 -0500 Subject: [PATCH] Pin Jinja2 for doc builds (#8773) The latest jinja2 breaks Sphinx 3.x builds. For now, pinning jinja2 to an earlier release for doc builds. (cherry picked from commit d9eeca39b7910e0b35d213a3c9be58e1edf01a53) --- doc/Pipfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/Pipfile b/doc/Pipfile index 42a9f5ad514..5828b4c99b8 100644 --- a/doc/Pipfile +++ b/doc/Pipfile @@ -32,6 +32,10 @@ verify_ssl = true # unpin sphinx by setting the following to "*". sphinx = "==3.*" +# Sphinx 3.x builds break with the latest jinja2. This jinja2 pin can be +# removed when we move to Sphinx 4.x. +jinja2 = "<3.1" + sphinx-rtd-theme = "*" sphinxcontrib-plantuml = "*" # i18n