-
Notifications
You must be signed in to change notification settings - Fork 3.4k
azure-cli/setup.py depends on PyGithub v1 #27873
Copy link
Copy link
Open
Labels
Auto-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 teamInstallationact-platform-engineering-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.feature-request
Milestone
Metadata
Metadata
Labels
Auto-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 teamInstallationact-platform-engineering-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.feature-request
Describe the bug
azure-cli requires to import PyGithub v1 which prevents others to install PyGithub v2.
https://github.com/Azure/azure-cli/blob/dev/src/azure-cli/setup.py#L143C6-L143C14
Related command
N/A
Errors
N/A
Issue script & Debug output
N/A
Expected behavior
We should be able to install the latest version of PyGithub.
Environment Summary
Additional context
While the preferred method to install the az cli is the official method with the dedicated interepretter and copy of the azure SDK this is not ok for folks that work with ephemeral containers due to the extremely large size of the Azure SDK. Having a duplicate copy of the azure SDK is a big problem that is tracked in other long open issues. We cannot use the official method and the strict import tree of the azure CLI is causing conflicts.