You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2022/04/05 19:12:28 UTC

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

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

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


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

commit 70b48e1d42889ea2f8db3684d010b80949839660
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