Skip to content

azure-cli-core has hard dependency on previous version of azure-mgmt-resource #15496

@fhoy

Description

@fhoy

Describe the bug
We use the azure-cli-core package to utilize CLI auth-mechanisms in some infrastructure deployment scripts, and some of that infrastructure is deployed using the azure-mgmt-resource package. After having upgraded the latter to its newest version, 15.0.0, we discovered that azure-cli-core has a hard dependency on azure-mgmt-resource 10.2.0. Since it does not seem like azure-cli-core actually uses much of azure-mgmt-resource, this version mismatch has not actually caused any problems for us yet, but with the new dependency resolver coming in pip, this conflict can not be ignored as easily. Does azure-cli-core really need to depend on azure-mgmt-resource? A cursory examination turned up use of an enum from the latter, which I would assume could easily be copied, but I may certainly have missed something.

To Reproduce
Include latest versions of azure-cli-core (2.12.1) and azure-mgmt-resource (15.0.0) in a setup.py and run pip install . --use-feature=2020-resolver.

Expected behavior
No dependency conflict.

Environment summary
Tested with pip on Ubuntu 18.04.1.

Additional context
n/a

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions