You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by hx...@apache.org on 2022/06/28 06:01:11 UTC
[flink] branch master updated: [FLINK-28195][python] Fix the build wheels
This is an automated email from the ASF dual-hosted git repository.
hxb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new 0edb68450b1 [FLINK-28195][python] Fix the build wheels
0edb68450b1 is described below
commit 0edb68450b173758f8741866e2040374362d5e91
Author: huangxingbo <hx...@apache.org>
AuthorDate: Tue Jun 28 09:59:31 2022 +0800
[FLINK-28195][python] Fix the build wheels
This closes #20085.
---
flink-python/dev/lint-python.sh | 6 +++---
flink-python/tox.ini | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/flink-python/dev/lint-python.sh b/flink-python/dev/lint-python.sh
index 8d3427b9d4d..f3719faa477 100755
--- a/flink-python/dev/lint-python.sh
+++ b/flink-python/dev/lint-python.sh
@@ -228,7 +228,7 @@ function install_py_env() {
if [[ ${BUILD_REASON} = 'IndividualCI' ]]; then
py_env=("3.9")
else
- py_env=("3.7" "3.8" "3.9")
+ py_env=("3.6" "3.7" "3.8" "3.9")
fi
for ((i=0;i<${#py_env[@]};i++)) do
if [ -d "$CURRENT_DIR/.conda/envs/${py_env[i]}" ]; then
@@ -403,7 +403,7 @@ function install_environment() {
fi
# step-3 install python environment which includes
- # 3.7 3.8 3.9
+ # 3.6 3.7 3.8 3.9
if [ $STEP -lt 3 ] && [ `need_install_component "py_env"` = true ]; then
print_function "STEP" "installing python environment..."
install_py_env
@@ -778,7 +778,7 @@ usage: $0 [options]
-l list all checks supported.
Examples:
./lint-python -s basic => install environment with basic components.
- ./lint-python -s py_env => install environment with python env(3.7,3.8,3.9).
+ ./lint-python -s py_env => install environment with python env(3.6,3.7,3.8,3.9).
./lint-python -s all => install environment with all components such as python env,tox,flake8,sphinx,mypy etc.
./lint-python -s tox,flake8 => install environment with tox,flake8.
./lint-python -s tox -f => reinstall environment with tox.
diff --git a/flink-python/tox.ini b/flink-python/tox.ini
index 0cc55026ae9..297d1c1a029 100644
--- a/flink-python/tox.ini
+++ b/flink-python/tox.ini
@@ -21,7 +21,7 @@
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions.
# new environments will be excluded by default unless explicitly added to envlist.
-envlist = {py36, py37, py38, py39}-cython
+envlist = {py37, py38, py39}-cython
[testenv]
whitelist_externals=