Azure / Azure/azure-cli

Dependencies for azure-mgmt-resource make no sense

Open
#32,370 2 comments 2 reactions 2 assignees Claimed by @yanzhudd View on GitHub
Azure CLI Team question
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### Describe the bug

Right now, azure-cli pins [azure-mgmt-resource](https://github.com/Azure/azure-cli/blob/9a57ac32583d036e4311497ce5029fafceb9aba3/src/azure-cli/requirements.py3.Linux.txt#L67) to version 23.3. In version 24.0.0 of that package, it broke itself into several smaller packages, named `azure-mgmt-resource-deploymentstacks`, `azure-mgmt-resource-deploymentscripts`, and `azure-mgmt-resource-templatespecs`.

However, azure-cli _also_ pins those new packages to 1.0.0b1. These packages conflict with each other, obviously, and thus it's impossible to actually package the azure-cli for a Linux distribution like Fedora. I assume pip just dumps the two packages on top of each other or something, but I honestly don't want to know why this could possibly even install.

### Related command

N/A

### Errors

N/A

### Issue script & Debug output

N/A

### Expected behavior

N/A

### Environment Summary

N/A

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.