Open gygitlab opened 5 months ago
I have same problem.
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.
Thanks
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.
Thanks
I found a workaround for 3.11 on macos 14 as well:
brew install llvm@14
PATH=/opt/homebrew/opt/llvm@14/bin:$PATH pip install uamqp
but 3.12 - no chances yet
SUMMARY
This is very closely related to https://github.com/ansible-collections/azure/issues/1505 but it is subtly different.
On up to date Mac systems a new build issue has appeared with the
uamqp
Python package, which is an upstream dependency ofazure-iot-hub
. There appears to be a guttural C build issue now with the latest versions on Mac that prevents building the package outright on any Python version.Like the above issue the best course here is likely to remove
azure-iot-hub
as a requirement as it's a stale library that requiresazure-uamqp-python
, which is no longer in active development.An issue on the
azure-uamqp-python
tracker has also been raised.