Skip to content

[bug] dependency uamqp needs to be replaced with pure Python AMQP package #765

@stefanb2

Description

@stefanb2

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:

  1. create a Python virtual environment on a system with Python 3.14+
  2. pip3 install azure-cli
  3. az extension install -n azure-iot --allow-preview True
  4. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions