Skip to content

Missing dependency of msrestazure from azure-cli-core #20732

@irvokopo

Description

@irvokopo

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug

Is there a missing dependency?

To Reproduce

In this code CLoudError is imported from msrestazure: https://github.com/Azure/azure-cli/blob/dev/src/azure-cli-core/azure/cli/core/commands/validators.py#:~:text=from%20msrestazure.azure_exceptions%20import%20CloudError

Expected behavior

Should the 'msrestazure' package be listed as a dependency here: https://github.com/Azure/azure-cli/blob/dev/src/azure-cli-core/setup.py#:~:text=%5D-,DEPENDENCIES%20%3D%20%5B,%5D,-%23%20dependencies%20for%20specific

Environment summary

Additional context

Metadata

Metadata

Labels

Packagingcustomer-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
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions