【问题标题】:apache flink statefun python sdk build distribution problemapache flink statefun python sdk构建分发问题
【发布时间】:2020-05-05 00:08:29
【问题描述】:

我曾计划用 python statefun 示例来交流嵌入式有状态函数(链接:https://github.com/apache/flink-statefun/tree/master/statefun-examples/statefun-python-greeter-example

但是(总是有一个但是)我一直在努力构建 python 发行版。我认为我的配置正确。

This was the error which I tried to described

我的点子版本: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 没问题。

你有什么想法吗?

谢谢。

【问题讨论】:

    标签: apache-flink flink-statefun


    【解决方案1】:

    Apache Flink 运行时主要在 JVM 上实现,因此社区使用 JVM 版本控制方案。 2.1-SNAPSHOT 是 master 上当前未发布的版本。它尚未发布到 PyPi。

    当前稳定版本为2.0.0[1]。

    我建议您查看文档,该文档反映了最新的稳定版本[2]。

    [1]https://pypi.org/project/apache-flink-statefun/

    [2]https://ci.apache.org/projects/flink/flink-statefun-docs-stable/

    【讨论】:

      猜你喜欢
      • 2020-11-03
      • 1970-01-01
      • 2020-07-24
      • 1970-01-01
      • 2022-12-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多