Azure / Azure/azure-cli

Azure-ci-core has strict dependencies on old 3rd party packages

Open
#18,548 8 comments 0 reactions 2 assignees Claimed by @bebound View on GitHub
act-platform-engineering-squad feature-request Packaging
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

## Describe the bug

When installing Azure cli alongside other 3rd party packages that have been updated recently, the strict requirements of the Azure packages is causing pip to throw errors. We are forced to then use the legacy resolver so that the installation can actually complete.

**Errors:**
```
azure-cli 2.24.2 requires PyGithub==1.38, but you'll have pygithub 1.55 which is incompatible.
azure-cli-core 2.24.2 requires cryptography<3.4,>=3.2, but you'll have cryptography 3.4.7 which is incompatible.
azure-cli-core 2.24.2 requires msal<2.0.0,>=1.10.0, but you'll have msal 1.9.0 which is incompatible.
```

## To Reproduce:

```
pip install --use-deprecated=legacy-resolver azure-cli
```

We have a long list of requirements so getting the list of third party packages is not practical here. The Azure packages are the ones causing the most conflicts for us.

## Expected Behavior

Pip should be able to resolve and install the latest Azure libraries with the latest versions of third party packages.

## Environment Summary
```
macOS-11.4-x86_64-i386-64bit
Python 3.9.5
Installer: PIP

azure-cli 2.24.2 *
```

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.