Azure / azure-cli

Azure Command-Line Interface
MIT License
3.92k stars 2.88k forks source link

Remove msrestazure from python deps #28231

Open gdippolito opened 5 months ago

gdippolito commented 5 months ago

Related command N/A

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

I believe msrestazure has been widely deprecated and should be removed from the python dependencies.

Describe the solution you'd like I would like msrestazure to not be part of the Python deps for azure-cli-core

Describe alternatives you've considered None

Additional context

msrestazure will also bring adal(Microsoft Azure Active Directory Authentication Library) as a dependency which is also inactive and deprecated.

yonzhan commented 5 months ago

Thank you for opening this issue, we will look into it.

gdippolito commented 2 months ago

Is there a target date for this dependency to be removed from azure-cli? The repository has been archived as of the 10th of April 2024 so I think it would be quite important to remove. See here for reference.

jiasli commented 2 months ago

We currently can't remove the dependency on msrestazure as we still use it for managed identity authentication. Migrating managed identity authentication from msrestazure to MSAL is tracked by https://github.com/Azure/azure-cli/issues/25860.

Is there a target date for this dependency to be removed from azure-cli?

We currently don't have a solid ETA for that yet.