You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ez...@apache.org on 2022/06/15 14:46:19 UTC

[trafficserver] branch 8.1.x updated: Pin Jinja2 for doc builds (#8773) (#8910)

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

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


The following commit(s) were added to refs/heads/8.1.x by this push:
     new 61478f21e Pin Jinja2 for doc builds (#8773) (#8910)
61478f21e is described below

commit 61478f21e75a4e9f827b0d2bc5c307b723004b03
Author: Brian Olsen <br...@comcast.com>
AuthorDate: Wed Jun 15 08:46:13 2022 -0600

    Pin Jinja2 for doc builds (#8773) (#8910)
    
    The latest jinja2 breaks Sphinx 3.x builds. For now, pinning jinja2 to
    an earlier release for doc builds.
    
    (cherry picked from commit d9eeca39b7910e0b35d213a3c9be58e1edf01a53)
    
    Co-authored-by: Brian Neradt <br...@gmail.com>
---
 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