Skip to content

Support Python 3.11 in Azure CLI 2.73.0 #32222

@furuya-fj

Description

@furuya-fj

Related command

az upgrade, az version, az login — general Azure CLI usage

Is your feature request related to a problem? Please describe.

We are operating mission-critical systems that require long-term stability, using RHEL 9.2 under Enhanced Extended Update Support (E-EUS). These systems are deployed on Azure with OS licenses brought in via Azure Hybrid Benefit (AHB) and contracted directly with Red Hat.
Due to the nature of these systems, upgrading the OS frequently is not feasible. RHEL 9.2 only provides Python up to version 3.11, while recent Azure CLI versions (e.g., 2.73.0 and later) require Python 3.12. This creates a compatibility issue that prevents us from updating Azure CLI in our environment.

Describe the solution you'd like

We would like Azure CLI versions 2.73.0 and later to support Python 3.11, allowing us to upgrade the CLI without needing to upgrade the OS.

Describe alternatives you've considered

Upgrading the OS to RHEL 9.4 or later
→ Not feasible due to system stability requirements
Staying on older Azure CLI versions
→ Limits access to new features and security updates

Additional context

We plan to continue using RHEL 9.x (e.g., 9.4, 9.6) under E-EUS for long-term support
Our systems rely on Red Hat's official Python packages, which currently cap at 3.11 for RHEL 9.2
Supporting Python 3.11 in newer Azure CLI versions would greatly improve compatibility for enterprise environments with similar constraints

Metadata

Metadata

Assignees

Labels

Accountaz login/accountAuto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamPossible-SolutionSimilar-IssueUpgradeaz upgradecustomer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions