我曾计划用 python statefun 示例交流嵌入式有状态函数(链接:https ://github.com/apache/flink-statefun/tree/master/statefun-examples/statefun-python-greeter-example )
但是(总是有一个但是)我一直在努力构建 python 发行版。我认为我有正确的配置。
我的点子版本:19.2.3
我的python版本:3.7.5
顺便说一下 python sdk setup 说的;
setup(
name='apache-flink-statefun',
version='2.1-SNAPSHOT',
packages=["statefun"],
url='https://github.com/apache/flink-statefun',
license='https://www.apache.org/licenses/LICENSE-2.0',
license_files=["LICENSE", "NOTICE"],
author='Apache Software Foundation',
author_email='dev@flink.apache.org',
description='Python SDK for Apache Flink Stateful functions',
long_description=long_description,
long_description_content_type='text/markdown',
install_requires=['protobuf>=3.11.3,<4.0.0'],
tests_require=['pytest'],
python_requires='>=3.5',
classifiers=[
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7']
)
它说 3.7 python 没问题。
你有什么想法?
谢谢。