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 2020/05/08 03:35:28 UTC
[flink] branch release-1.9 updated: [hotfix][python][tests] Limit
the version of flake8 and sphinx
This is an automated email from the ASF dual-hosted git repository.
dianfu pushed a commit to branch release-1.9
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.9 by this push:
new d193148 [hotfix][python][tests] Limit the version of flake8 and sphinx
d193148 is described below
commit d193148371cb98624259ba3d82763cc7d2d56968
Author: Dian Fu <di...@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 e1becb8..5170133 100755
--- a/flink-python/dev/lint-python.sh
+++ b/flink-python/dev/lint-python.sh
@@ -237,7 +237,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.\
@@ -259,7 +259,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.\