azure-iot-cli-extension
azure-iot-cli-extension copied to clipboard
[bug] dependency `uamqp` needs to be replaced with pure Python AMQP package
Describe the bug uamqp is no longer maintained and will be deprecated soon(?). Therefore Azure CLI IoT extension can't be used with Python 3.14+.
To Reproduce Steps to reproduce the behavior:
- create a Python virtual environment on a system with Python 3.14+
-
pip3 install azure-cli -
az extension install -n azure-iot --allow-preview True -
az iot hub monitor-events --subscription <subscription> --hub-name <hub>
$ az iot hub monitor-events --subscription ...
Dependency update (uamqp 1.6.6) required for IoT extension version: 0.30.0b1.
Continue? (y/n) -> y
Updating required dependency...
Failure updating uamqp. Aborting...
... long list of error messages boiling down to the fact that uamqp doesn't compile against Python 3.14+ ...
Expected behavior Azure CLI with IoT extension can be used together with Python 3.14+.
Environment (please complete the following information):
- OS: Fedora 43
- Shell: bash
- Az CLI version: 2.80.0
- IoT extension version: 0.30.0b1
- Python version (if pip installed): 3.14
Additional context If I understand this PR correctly other Azure Python projects have moved to a pure Python AMQP package.