Use the all to install the py3-grpcio, and then use the requirements.txt to
install the pulsar-client, it works fine.

 This is a workaround.

Thanks,
Zixuan

Yunze Xu <x...@apache.org>于2024年5月15日 周三10:51写道:

> > I tried but it didn't work.
>
> Could you share the CI workflow so I can take a look? Meanwhile, would
> you like to start the release for Python client 3.5.1?
>
> Thanks,
> Yunze
>
> On Sat, May 11, 2024 at 5:54 PM Zixuan Liu <node...@gmail.com> wrote:
> >
> > > Please release 3.5.1 rather than 3.4.1 because 3.5.0 is already
> > released. It's too heavy to maintain old releases for client libraries
> > for now.
> >
> > Let's go to 3.5.1.
> >
> > > However, it would be better to remove the `functions` component from
> > pulsar-client-python because the Python client itself never uses these
> > dependencies. See my discussion [1] before. Since python functions is
> > maintained in the Pulsar main repository, we should maintain the extra
> > dependencies in the Pulsar main repo as well.
> >
> > Good idea +1.
> >
> > > Would this release block the Pulsar 3.3.0 release?
> >
> > Yes, the current Python client will cause a particularly long time(2
> hours)
> > to build a pulsar ARM image.
> >
> > > If yes, a quicker way to fix it was to add a `requirements.txt` that
> > includes a proper
> > version of grpcio and then run `python -m pip install -r
> > python/requirements.txt`.
> >
> > I tried but it didn't work.
> >
> > Thanks,
> > Zixuan
> >
> >
> > Yunze Xu <x...@apache.org> 于2024年5月11日周六 12:25写道:
> >
> > > Sorry I missed the discussion link:
> > > https://lists.apache.org/thread/5s2l9vgt5f973psb6xlttpmy4rpym7zh
> > >
> > > Would this release block the Pulsar 3.3.0 release? If yes, a quicker
> > > way to fix it was to add a `requirements.txt` that includes a proper
> > > version of grpcio and then run `python -m pip install -r
> > > python/requirements.txt`.
> > >
> > > Here is an example:
> > >
> > > ```
> > > pulsar-client == 3.5.0
> > > protobuf>=3.6.1,<=3.20.3
> > > grpcio >= 1.60.0
> > > apache-bookkeeper-client>=4.16.1
> > > prometheus_client
> > > ratelimit
> > > ```
> > >
> > > Thanks,
> > > Yunze
> > >
> > > On Sat, May 11, 2024 at 12:19 PM Yunze Xu <x...@apache.org> wrote:
> > > >
> > > > Please release 3.5.1 rather than 3.4.1 because 3.5.0 is already
> > > > released. It's too heavy to maintain old releases for client
> libraries
> > > > for now.
> > > >
> > > > However, it would be better to remove the `functions` component from
> > > > pulsar-client-python because the Python client itself never uses
> these
> > > > dependencies. See my discussion [1] before. Since python functions is
> > > > maintained in the Pulsar main repository, we should maintain the
> extra
> > > > dependencies in the Pulsar main repo as well.
> > > >
> > > > Thanks,
> > > > Yunze
> > > >
> > > > On Wed, May 8, 2024 at 11:26 PM Zixuan Liu <node...@gmail.com>
> wrote:
> > > > >
> > > > > Hi all,
> > > > >
> > > > > https://github.com/apache/pulsar-client-python/pull/174 breaks the
> > > > > python-client installation in the pulsar arm image, and then the
> > > release
> > > > > manager of pulsar@3.3.0 will take about 2 hours to build the
> grpcio
> > > wheel,
> > > > > please see
> > > > >
> > >
> https://github.com/nodece/pulsar-python-deps-build/actions/runs/8891459473/job/24418839959#step:6:315
> > > > > for
> > > > > details.
> > > > >
> > > > > https://github.com/apache/pulsar-client-python/pull/211 fixes
> that,
> > > but I'm
> > > > > not sure if a new version will be released.
> > > > >
> > > > > Thanks,
> > > > > Zixuan
> > >
>

Reply via email to