You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2022/06/13 18:13:00 UTC

[trafficserver] 03/07: Pin Jinja2 for doc builds (#8773)

This is an automated email from the ASF dual-hosted git repository.

bcall pushed a commit to branch 9.1.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit 6f2ce3e355b27d97775923cb00ff7930ab14d003
Author: Brian Neradt <br...@gmail.com>
AuthorDate: Tue Mar 29 13:33:50 2022 -0500

    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 42a9f5ad5..5828b4c99 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