-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Can't install azure-cli because of pinned beta versions #32406
Copy link
Copy link
Open
Labels
Azure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamcustomer-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
Azure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamcustomer-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
Describe the bug
I'm trying to use
uv tool install azure-cli@latestbut installs version
2.0.67.After some investigation it turns out that this due to lots of pre-release packages being added since then.
Could you clean up your dependencies in https://github.com/Azure/azure-cli/blob/dev/src/azure-cli/setup.py to use stable versions?
This is the problematic packages I found:
to anyone comming here looking for a quick solution:
uv tool install --prerelease=allow azure-cli@latestwill get you the latest version.
Related command
uv tool install azure-cli@latestErrors
...
warning: The package
urllib3==2.5.0does not have an extra namedsecureIssue script & Debug output
N/A
Expected behavior
Expect it to install latest version. It would then look like this:
+ azure-cli==2.79.0Environment Summary
Not sure if this is relevant in this context, but here it is:
azure-cli 2.57.0 *
core 2.57.0 *
telemetry 1.1.0
Dependencies:
msal 1.26.0
azure-mgmt-resource 23.1.0b2
Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\redacted.azure\cliextensions'
Python (Windows) 3.11.7 (tags/v3.11.7:fa7a6f2, Dec 4 2023, 19:24:49) [MSC v.1937 64 bit (AMD64)]
Legal docs and information: aka.ms/AzureCliLegal
Additional context
From astral-sh/uv#14415 (comment) :