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

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


The following commit(s) were added to refs/heads/release-1.10 by this push:
     new 4764c8c  [hotfix][python][tests] Limit the version of flake8 and sphinx
4764c8c is described below

commit 4764c8c3a6b384346a8ceff3aabae38d9a6336f9
Author: Dian Fu <dia...@apache.org>
AuthorDate: Fri May 8 11:33:21 2020 +0800

    [hotfix][python][tests] Limit the version of flake8 and sphinx
---
 flink-python/dev/lint-python.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/flink-python/dev/lint-python.sh b/flink-python/dev/lint-python.sh
index 1a29759..627734f 100755
--- a/flink-python/dev/lint-python.sh
+++ b/flink-python/dev/lint-python.sh
@@ -279,7 +279,7 @@ function install_flake8() {
         fi
     fi
 
-    $CONDA_PATH install -p $CONDA_HOME -c anaconda flake8 -y -q 2>&1 >/dev/null
+    $CONDA_PATH install -p $CONDA_HOME -c anaconda flake8=3.7.9 -y -q 2>&1 
>/dev/null
     if [ $? -ne 0 ]; then
         echo "conda install flake8 failed \
         please try to exec the script again.\
@@ -301,7 +301,7 @@ function install_sphinx() {
         fi
     fi
 
-    $CONDA_PATH install -p $CONDA_HOME -c anaconda sphinx -y -q 2>&1 >/dev/null
+    $CONDA_PATH install -p $CONDA_HOME -c anaconda sphinx=2.4.4 -y -q 2>&1 
>/dev/null
     if [ $? -ne 0 ]; then
         echo "conda install sphinx failed \
         please try to exec the script again.\

Reply via email to