Open cicharka opened 3 months ago
I am facing the same issue but for all versions of uampq with Python 3.11.8 on a Macbook with Sonoma 14.4.1 and an M3 chip.
~I have the same issue with Python 3.8.17 on an M1 Macbook with Sonoma 14.2.1~
Edit: I followed the recommendation and updated my Azure SDK
Hi everyone, are yall using uAMQP with either the eventhub or servicebus python sdks ? If thats the case we are wanting users to move over to the new versions of the SDK that uses a pure python based AMQP library
As such this library never officially supported ARM and didn't have wheels pushed out for it. We are just pushing out small updates overall as this library is no longer in active maintenance.
I have the same issue with Python 3.11 on an Apple M2 Max with macOS Sonoma Version 14.3.1. I encountered this when I was trying to install azure-iot-hub.
~I have the same issue with Python 3.8.17 on an M1 Macbook with Sonoma 14.2.1~
Edit: I followed the recommendation and updated my Azure SDK
Which one? Because I installed cmake
, but it doesn't work
@rtrive are you using the Azure Event Hub or Service Bus SDKs? Those also used uAMQP but now are using a new python based on. Upgrading those most likely fixed the issue for them
have the same problem with 1.6.8 and 1.6.9
Same error:
uamqp/c_uamqp.c:112510:55: error: no member named 'ob_digit' in 'struct _longobject'
const digit* digits = ((PyLongObject*)x)->ob_digit;
~~~~~~~~~~~~~~~~~~ ^
uamqp/c_uamqp.c:112651:55: error: no member named 'ob_digit' in 'struct _longobject'
const digit* digits = ((PyLongObject*)x)->ob_digit;
~~~~~~~~~~~~~~~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
294 warnings and 20 errors generated.
error: command '/usr/bin/clang' failed with exit code 1
[end of output]
thank you
UAMQP Package Version: 1.6.9 Operating System: Sonoma 14.4.1 Python Version: 3.11.6 M2
It is possible to build with this flag: CFLAGS="-Wno-error=incompatible-function-pointer-types" pip install uamqp==1.6.9
Not sure if there are side effects, but I only require to install uampq as a dependency of azure-iot-hub, and it doesn't seems to affect the functionality I need.
With Python 3.12 this workaround doesn't work.
UAMQP Package Version: 1.6.9 Operating System: Sonoma 14.4.1 Python Version: 3.11.6 M2
It is possible to build with this flag: CFLAGS="-Wno-error=incompatible-function-pointer-types" pip install uamqp==1.6.9
Not sure if there are side effects, but I only require to install uampq as a dependency of azure-iot-hub, and it doesn't seems to affect the functionality I need.
With Python 3.12 this workaround doesn't work.
This worked for me installing the latest version. Thanks!
CFLAGS="-Wno-error=incompatible-function-pointer-types" pip3 install uamqp
Describe the bug Failed to install directly with pip:
To Reproduce Steps to reproduce the behavior:
pip install uamqp
orpip install uamqp==1.6.9
Expected behavior Package should be installed.
Additional context Installation of version
1.6.8
works fine. Release1.6.9
is blocking installation of requirements for azure collection.