Hi Aljoscha,

I agree that the coming PyFlink package of 1.10 is enough for users who
just want to try out the latest version of PyFlink. However, I think that
there are also cases where the old versions are useful. Usually users tend
to prepare their development environment according to the version of the
cluster. Suppose that the Flink cluster version is 1.9, then users may want
to install the package of PyFlink 1.9. Even if he installs the 1.10 package
from the PyPI, it will fail in cases that he tries to submit the Python job
to the 1.9 cluster using the python shell shipped with the 1.10 package.
(The reason is that the JobGraph of 1.10 is incompatible with the JobGraph
of 1.9)

As the 1.9.2 is already released, considering that publishing it to PyPI
requires not too much efforts(I have already prepared the package),
personally I think it worths to do that.

What's your thought? :)

Best,
Jincheng

Aljoscha Krettek <aljos...@apache.org> 于2020年2月4日周二 下午4:00写道:

> Hi,
>
> I think that's a good idea, but we will also soon have Flink 1.10 anyways.
>
> Best,
> Aljoscha
>
> On 04.02.20 07:25, Hequn Cheng wrote:
> > Hi Jincheng,
> >
> > +1 for this proposal.
> >  From the perspective of users, I think it would nice to have PyFlink on
> > PyPI which makes it much easier to install PyFlink.
> >
> > Best, Hequn
> >
> > On Tue, Feb 4, 2020 at 1:09 PM Jeff Zhang <zjf...@gmail.com> wrote:
> >
> >> +1
> >>
> >>
> >> Xingbo Huang <hxbks...@gmail.com> 于2020年2月4日周二 下午1:07写道:
> >>
> >>> Hi Jincheng,
> >>>
> >>> Thanks for driving this.
> >>> +1 for this proposal.
> >>>
> >>> Compared to building from source, downloading directly from PyPI will
> >>> greatly save the development cost of Python users.
> >>>
> >>> Best,
> >>> Xingbo
> >>>
> >>>
> >>>
> >>> Wei Zhong <weizhong0...@gmail.com> 于2020年2月4日周二 下午12:43写道:
> >>>
> >>>> Hi Jincheng,
> >>>>
> >>>> Thanks for bring up this discussion!
> >>>>
> >>>> +1 for this proposal. Building from source takes long time and
> requires
> >>>> a good network environment. Some users may not have such an
> environment.
> >>>> Uploading to PyPI will greatly improve the user experience.
> >>>>
> >>>> Best,
> >>>> Wei
> >>>>
> >>>> jincheng sun <sunjincheng...@gmail.com> 于2020年2月4日周二 上午11:49写道:
> >>>>
> >>>>> Hi folks,
> >>>>>
> >>>>> I am very happy to receive some user inquiries about the use of Flink
> >>>>> Python API (PyFlink) recently. One of the more common questions is
> >>>>> whether
> >>>>> it is possible to install PyFlink without using source code build.
> The
> >>>>> most
> >>>>> convenient and natural way for users is to use `pip install
> >>>>> apache-flink`.
> >>>>> We originally planned to support the use of `pip install
> apache-flink`
> >>>>> in
> >>>>> Flink 1.10, but the reason for this decision was that when Flink 1.9
> was
> >>>>> released at August 22, 2019[1], Flink's PyPI account system was not
> >>>>> ready.
> >>>>> At present, our PyPI account is available at October 09, 2019
> [2](Only
> >>>>> PMC
> >>>>> can access), So for the convenience of users I propose:
> >>>>>
> >>>>> - Publish the latest release version (1.9.2) of Flink 1.9 to PyPI.
> >>>>> - Update Flink 1.9 documentation to add support for `pip install`.
> >>>>>
> >>>>> As we all know, Flink 1.9.2 was just completed released at January
> 31,
> >>>>> 2020
> >>>>> [3]. There is still at least 1 to 2 months before the release of
> 1.9.3,
> >>>>> so
> >>>>> my proposal is completely considered from the perspective of user
> >>>>> convenience. Although the proposed work is not large, we have not
> set a
> >>>>> precedent for independent release of the Flink Python API(PyFlink) in
> >>>>> the
> >>>>> previous release process. I hereby initiate the current discussion
> and
> >>>>> look
> >>>>> forward to your feedback!
> >>>>>
> >>>>> Best,
> >>>>> Jincheng
> >>>>>
> >>>>> [1]
> >>>>>
> >>>>>
> https://lists.apache.org/thread.html/4a4d23c449f26b66bc58c71cc1a5c6079c79b5049c6c6744224c5f46%40%3Cdev.flink.apache.org%3E
> >>>>> [2]
> >>>>>
> >>>>>
> https://lists.apache.org/thread.html/8273a5e8834b788d8ae552a5e177b69e04e96c0446bb90979444deee%40%3Cprivate.flink.apache.org%3E
> >>>>> [3]
> >>>>>
> >>>>>
> https://lists.apache.org/thread.html/ra27644a4e111476b6041e8969def4322f47d5e0aae8da3ef30cd2926%40%3Cdev.flink.apache.org%3E
> >>>>>
> >>>>
> >>
> >> --
> >> Best Regards
> >>
> >> Jeff Zhang
> >>
> >
>

Reply via email to