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/11/18 07:57:26 UTC

[flink] 01/02: [FLINK-28786][python] Fix the NoneType error on MacOS with M1 Chip

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

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

commit 4f0ffa0ddfeffbe25435595d08825cada713ac44
Author: huangxingbo <hx...@apache.org>
AuthorDate: Fri Nov 18 15:56:25 2022 +0800

    [FLINK-28786][python] Fix the NoneType error on MacOS with M1 Chip
---
 flink-python/dev/dev-requirements.txt | 2 +-
 flink-python/setup.py                 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/flink-python/dev/dev-requirements.txt b/flink-python/dev/dev-requirements.txt
index ade4dbf0f1e..ae602e878ca 100755
--- a/flink-python/dev/dev-requirements.txt
+++ b/flink-python/dev/dev-requirements.txt
@@ -33,4 +33,4 @@ grpcio>=1.29.0,<=1.46.3
 grpcio-tools>=1.29.0,<=1.46.3
 pemja==0.2.4; python_version >= '3.7' and platform_system != 'Windows'
 httplib2>=0.19.0,<=0.20.4
-protobuf<3.18
\ No newline at end of file
+protobuf>=3.19.0,<=3.21
\ No newline at end of file
diff --git a/flink-python/setup.py b/flink-python/setup.py
index 289e1936c97..f0a83e09d08 100644
--- a/flink-python/setup.py
+++ b/flink-python/setup.py
@@ -311,7 +311,7 @@ try:
     install_requires = ['py4j==0.10.9.3', 'python-dateutil==2.8.0', 'apache-beam==2.38.0',
                         'cloudpickle==2.1.0', 'avro-python3>=1.8.1,!=1.9.2,<1.10.0',
                         'pytz>=2018.3', 'fastavro>=1.1.0,<1.4.8', 'requests>=2.26.0',
-                        'protobuf<3.18',
+                        'protobuf>=3.19.0,<=3.21',
                         'pemja==0.2.6;'
                         'python_full_version >= "3.7" and platform_system != "Windows"',
                         'httplib2>=0.19.0,<=0.20.4', apache_flink_libraries_dependency]