You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by di...@apache.org on 2022/03/25 04:14:55 UTC

[flink] branch release-1.13 updated: [FLINK-26855][python] Fix Sphinx check failure caused by Jinja2 dependency (#19238)

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

dianfu pushed a commit to branch release-1.13
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-1.13 by this push:
     new 88ccdf1  [FLINK-26855][python] Fix Sphinx check failure caused by Jinja2 dependency (#19238)
88ccdf1 is described below

commit 88ccdf12539dcdd263c7170f6c29d065a78eb1e8
Author: Juntao Hu <ma...@gmail.com>
AuthorDate: Thu Mar 24 21:10:48 2022 -0700

    [FLINK-26855][python] Fix Sphinx check failure caused by Jinja2 dependency (#19238)
---
 flink-python/dev/lint-python.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flink-python/dev/lint-python.sh b/flink-python/dev/lint-python.sh
index eb2bd3f..8c06dd3 100755
--- a/flink-python/dev/lint-python.sh
+++ b/flink-python/dev/lint-python.sh
@@ -322,7 +322,7 @@ function install_sphinx() {
         fi
     fi
 
-    $CURRENT_DIR/install_command.sh -q Sphinx==2.4.4 Docutils==0.17.1 2>&1 >/dev/null
+    $CURRENT_DIR/install_command.sh -q Sphinx==2.4.4 Docutils==0.17.1 "Jinja2<3.1.0" 2>&1 >/dev/null
     if [ $? -ne 0 ]; then
         echo "pip install sphinx failed \
         please try to exec the script again.\