-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Opening a service bus connection fails on macOS Big Sur with Python 3.8 #15567
Comments
hey @cedrickring, thanks for reaching out. I updated my Mac to Big Sur and can get service bus v7 work with python 3.8. |
I tried creating a fresh environment with no other dependencies and did a Unfortunately the same error still occurs. I'm using a 2018 MBP with the i9 chip. EDIT: Some other system information that might be helpful:
Installed packages when installing
|
thanks for the extra platform info @cedrickring, I'll try to align the settings on my mac with yours and try to reproduce |
I can verify that this is happening on my machine as well. Here are my system settings
Error:
|
@yunhaoling I have the same issue on a 2019 MBP with the i9 chip (so a bit closer to your setup) |
may I ask how you guys install your python? -- is it built from source code/via the installer/via conda or something else I checked my python which is installed by the installer available on the official website and when I type pthon:
I'm wondering if it's the latest clang v12 causing the issue. |
confirming the issue by building python from source code on BigSur with clang 12.0.0, that's interesting. I'll dig deeper to see how it is broken. meanwhile, the official distribution for macos seems to work fine https://www.python.org/downloads/release/python-390/ -- could you also verify it works on your machine? --------- latest update --------- found a relevant issue and the fix, will try it out Azure/azure-iot-sdk-c#1624 |
@yunhaoling I can confirm, azure-servicebus seems to work when installing Python from this url https://www.python.org/downloads/release/python-390/. Though I prefer installing Python via homebrew which seems to be compiled with Clang 12.0.0... |
hey @cedrickring , FYI: my fix PR gets merged into the underlying C repo, we'll do a uamqp release after we address some other uamqp issues. |
Confirming the same issue here on a 2019 16" MacBook Pro i7 Big Sur 11.0.1 Python 3.8.6 installed via homebrew. azure-servicebus 0.50.2 and 7.0.0 2020-12-13 21:43:57.225 Python[5770:52548] -[__NSCFConstantString objectForKey:]: unrecognized selector sent to instance 0x7fff80211af0 |
Any news on when the release will be out? |
@kriwal-arkivverket according to this PR the fix in the underlying lib ( |
patiently waiting on this one.... |
sorry for keeping you waiting for a long time. We have released uamqp v1.2.13 today which includes the fix for this issue. Let me know if you're still getting trouble with the latest version. |
Looks like it's working! 🎉 |
Describe the bug
Opening a connection crashes the process with the following error:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The process should live.
NOTE: This is a duplicate of Azure/azure-uamqp-python#185, though it might be related to both projects.
The text was updated successfully, but these errors were encountered: