File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
dl-on-flink-tensorflow-2.x/python
dl-on-flink-tensorflow/python Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,9 @@ def get_tf_lib(tf_lib):
147147 'apache-flink>=1.14.0, <1.15.0' ,
148148 f'{ DL_ON_FLINK_FRAMEWORK_PACKAGE_NAME } =={ VERSION } ' ,
149149 'apache-flink-ml>=2.0.0, <3.0.0' ,
150- 'cloudpickle>=1.2.2' ],
150+ 'cloudpickle>=1.2.2' ,
151+ 'protobuf<3.18' ,
152+ 'grpcio>=1.24.3,<1.47.0' ],
151153 setup_requires = setup_requires ,
152154 url = 'https://github.com/flink-extended/dl-on-flink' ,
153155 license = 'https://www.apache.org/licenses/LICENSE-2.0'
Original file line number Diff line number Diff line change @@ -126,7 +126,8 @@ def get_tf_lib(tf_lib):
126126 return glob (os .path .join (tf_lib , "*tensorflow_framework*" ))[0 ]
127127
128128
129- setup_requires = ['tensorflow>=1.15.0, <2.0.0' , 'protobuf<3.18' ]
129+ setup_requires = ['tensorflow>=1.15.0, <2.0.0' , 'protobuf<3.18' ,
130+ 'grpcio>=1.24.3,<1.47.0' ]
130131if not in_dl_on_flink_source :
131132 setup_requires .append (f'{ DL_ON_FLINK_FRAMEWORK_PACKAGE_NAME } =={ VERSION } ' )
132133
@@ -147,7 +148,9 @@ def get_tf_lib(tf_lib):
147148 f'{ DL_ON_FLINK_FRAMEWORK_PACKAGE_NAME } =={ VERSION } ' ,
148149 'apache-flink>=1.14.0, <1.15.0' ,
149150 'apache-flink-ml>=2.0.0, <3.0.0' ,
150- 'cloudpickle>=1.2.2' ],
151+ 'cloudpickle>=1.2.2' ,
152+ 'protobuf<3.18' ,
153+ 'grpcio>=1.24.3,<1.47.0' ],
151154 setup_requires = setup_requires ,
152155 url = 'https://github.com/flink-extended/dl-on-flink' ,
153156 license = 'https://www.apache.org/licenses/LICENSE-2.0'
You can’t perform that action at this time.
0 commit comments