Skip to content

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

@sodul

Description

@sodul

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 <other-3rd-party-packages>

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 *

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions