-
Notifications
You must be signed in to change notification settings - Fork 13.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FLINK-21021][python] Bump Beam to 2.27.0 #14741
Conversation
Thanks a lot for your contribution to the Apache Flink project. I'm the @flinkbot. I help the community Automated ChecksLast check on commit 1877658 (Sun Jan 24 12:16:59 UTC 2021) Warnings:
Mention the bot in a comment to re-run the automated checks. Review Progress
Please see the Pull Request Review Guide for a full explanation of the review process. The Bot is tracking the review progress through labels. Labels are applied according to the order of the review items. For consensus, approval by a Flink committer of PMC member is required Bot commandsThe @flinkbot bot supports the following commands:
|
c3fa1cd
to
a2be9be
Compare
@dianfu Will you take care of this PR? |
@zentol Sure. Thanks for the reminder. |
@HuangXingBo Sorry for late response of this PR. There are some code conflicts. Could you help to rebase the PR to the latest master? |
c349fa0
to
a3191da
Compare
@dianfu I have rebased the |
flink-python/setup.py
Outdated
'pandas>=0.25.2,<1; python_full_version >= "3.5.3"', | ||
'pyarrow>=0.15.1,<0.18.0', 'pytz>=2018.3', 'numpy>=1.14.3,<1.20'], | ||
'pandas>=0.25.2,<1', 'pyarrow>=0.15.1,<0.18.0', 'pytz>=2018.3', | ||
'numpy>=1.14.3,<1.20', 'fastavro>=0.21.4,<0.24'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'numpy>=1.14.3,<1.20', 'fastavro>=0.21.4,<0.24'], | |
'numpy>=1.14.3,<1.21', 'fastavro>=0.21.4,<2'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fastavro
hasn't no longer provided manylinux2010.whl since 0.24.2
, which makes some old version machines must have gcc if using newer version of fastavro
. In fact, the fastavro
dependency comes from apache-beam
, and it is used in connectors. We can limit it to a relatively old version to solve the problem of gcc
absence, and it will not have any impact on Pyflink. What do you think?
The 2.0.0 version of pyarrow
is incompatible with the 1.20.x version of numpy
. This problem was resolved in the unreleased 2.0.1 version of pyarrow
. So here we limit the version of numpy
to less than 1.20.
https://issues.apache.org/jira/browse/ARROW-10855?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel
flink-python/setup.py
Outdated
'pandas>=0.24.2,<1; python_full_version < "3.5.3"', | ||
'pandas>=0.25.2,<1; python_full_version >= "3.5.3"', | ||
'pyarrow>=0.15.1,<0.18.0', 'pytz>=2018.3', 'numpy>=1.14.3,<1.20'], | ||
'pandas>=0.25.2,<1', 'pyarrow>=0.15.1,<0.18.0', 'pytz>=2018.3', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'pandas>=0.25.2,<1', 'pyarrow>=0.15.1,<0.18.0', 'pytz>=2018.3', | |
'pandas>=1.0,<1.3.0', 'pyarrow>=0.15.1,<4.0.0', 'pytz>=2018.3', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think 'pandas>=1.0,<1.2.0', 'pyarrow>=0.15.1,<3.0.0' is better, which is consistent with the dependency version of apache-beam
flink-python/setup.py
Outdated
python_requires='>=3.5', | ||
install_requires=['py4j==0.10.8.1', 'python-dateutil==2.8.0', 'apache-beam==2.23.0', | ||
python_requires='>=3.6', | ||
install_requires=['py4j==0.10.8.1', 'python-dateutil==2.8.0', 'apache-beam==2.27.0', | ||
'cloudpickle==1.2.2', 'avro-python3>=1.8.1,<=1.9.1', 'jsonpickle==1.2', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'cloudpickle==1.2.2', 'avro-python3>=1.8.1,<=1.9.1', 'jsonpickle==1.2', | |
'cloudpickle==1.2.2', 'avro-python3>=1.8.1,!=1.9.2,<1.10.0', 'jsonpickle==1.2', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
What is the purpose of the change
This pull request will Bump Beam to 2.27.0
Brief change log
Verifying this change
This change added tests and can be verified as follows:
Does this pull request potentially affect one of the following parts:
@Public(Evolving)
: (no)Documentation