-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Support Python 3.11 in Azure CLI 2.73.0 #32222
Copy link
Copy link
Closed
Labels
Accountaz login/accountaz login/accountAuto-AssignAuto assign by botAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamPossible-SolutionSimilar-IssueUpgradeaz upgradeaz upgradecustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues 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 thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone
Metadata
Metadata
Assignees
Labels
Accountaz login/accountaz login/accountAuto-AssignAuto assign by botAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamPossible-SolutionSimilar-IssueUpgradeaz upgradeaz upgradecustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues 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 thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Type
Fields
Give feedbackNo fields configured for issues without a type.
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