-
Notifications
You must be signed in to change notification settings - Fork 38
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
[Bug] ConnectError while using pyarrow.fs
#53
Comments
Hi guys, i made more tests today at office. I found out that the problem is the combination of - python==3.9
- pulsar-client==2.10.1
- grpcio==1.48.0 and it doesn't work. The same script with - python<3.9
- pulsar-client==2.10.1
- grpcio==1.48.0 works. |
The issue had no activity for 30 days, mark with Stale label. |
Hello, I have the same issue with the pyproj library using Python>=3.9. When I import pyproj first, I have the exact same issue with Pulsar. import pulsar
import pyproj
pyproj.Transformer.from_crs('epsg:4326', 'epsg:3035')
So there seems to be some kind of conflict between cpp libraries since pyproj is also a wrapper for the PROJ cpp library and python 3.9+ Thank you for looking into this because we are stuck at python 3.8 for now... Also posted in pyproj here |
@emanueledomingo are you still experiencing this? Using the latest stable releases of pyarrow, pulsar, and Python 3.10 and 3.11 I can't reproduce this currently. Your example code works as expected. |
@erichare I tested the same script with pulsar-client 3.0.0 and python 3.10 ad this seems to be solved. Didn't tested with python 3.11 yet. |
Cool, good to know! If you have time to check with 3.9 that would be great, I plan to myself soon as well, but i'm thinking this was resolved as some consequence of an update along the way... |
Tested also with python 3.9, it works! |
Search before asking
Version
OS: Ubuntu 22.04.1 LTS
Pulsar: 2.9.2
python
: 3.10.6pulsar-client
: 2.9.3pyarrow
: 7.0.0Minimal reproduce step
The client doesn't connect to the Broker if i import the
pyarrow.fs
library before.If i just comment or import the
pyarrow.fs
library after pulsar, it works.What did you expect to see?
What did you see instead?
Anything else?
The same error occurs using the
dagster
library. I noticed that both pyarrow and dagster usegrpcio
under the hood.Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: