Open NiuBlibing opened 1 year ago
@hangc0276 @zymap We should probably upgrade it first in BookKeeper because it's used by Python functions state.
Seems like I run into the same issue ERROR: Failed building wheel for grpcio
when:
pip install 'pulsar-client[all]==2.10.2'
on python 3.10.0 and python 3.10.6pip install 'pulsar-client[all]==3.1.0'
on python 3.10.0 and python 3.10.6Any idea how the Pulsar client can be installed on python 3.10?
UPD:
Apache Bookkeeper attempts installing grpcio 1.27.2
, and if I do pip install grpcio==1.27.2
on python 3.10, this leads to the same Failed building wheel for grpcio
.
If you don't need to use Pulsar functions, you can just instance pip install 'pulsar-client==3.1.0'
.
Or, with Avro support: pip install 'pulsar-client[avro]==3.1.0'
Thanks @merlimat , I think I will go for pip install 'pulsar-client==3.1.0'
now.
Though functions seems a nice feature, would be cool to have a possibility to try it on python 3.10 in the future.
I am trying to upgrade grpcio in bookkeeper python client. But we haven't verified the test in CI, there are some failures. I will add it back to CI and then upgrade the grpcio.
The depency of grpcio
"grpcio<1.28,>=1.8.2",
is release two years ago which could not installpip install 'pulsar-client[all]==3.0.0'
on python3.10.environments, also occurs on python 3.10 docker image: