Skip to content

Commit

Permalink
[hotfix][python][tests] Limit the version of flake8 and sphinx
Browse files Browse the repository at this point in the history
  • Loading branch information
dianfu committed May 8, 2020
1 parent 62c0589 commit 4764c8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flink-python/dev/lint-python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.\
Expand All @@ -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.\
Expand Down

0 comments on commit 4764c8c

Please sign in to comment.