azure-cli: has requirement msrestazure~=0.4.7, but you'll have msrestazure 0.5.0 which is incompatible.
Describe the bug Get this when I run pip install
azure-mgmt-batch 4.1.0 has requirement msrestazure~=0.4.7, but you'll have msrestazure 0.5.0 which is incompatible.
azure-mgmt-trafficmanager 0.40.0 has requirement msrestazure~=0.4.8, but you'll have msrestazure 0.5.0 which is incompatible.
azure-mgmt-servicefabric 0.1.0 has requirement msrestazure~=0.4.11, but you'll have msrestazure 0.5.0 which is incompatible.
azure-mgmt-recoveryservices 0.1.0 has requirement msrestazure~=0.4.11, but you'll have msrestazure 0.5.0 which is incompatible.
azure-mgmt-cognitiveservices 1.0.0 has requirement msrestazure~=0.4.7, but you'll have msrestazure 0.5.0 which is incompatible.
azure-mgmt-eventhub 1.2.0 has requirement msrestazure~=0.4.11, but you'll have msrestazure 0.5.0 which is incompatible.
azure-mgmt-devtestlabs 2.0.0 has requirement msrestazure~=0.4.7, but you'll have msrestazure 0.5.0 which is incompatible.
azure-mgmt-datalake-analytics 0.2.0 has requirement msrestazure~=0.4.7, but you'll have msrestazure 0.5.0 which is incompatible.
azure-mgmt-keyvault 0.40.0 has requirement msrestazure~=0.4.7, but you'll have msrestazure 0.5.0 which is incompatible.
azure-mgmt-redis 4.1.0 has requirement msrestazure~=0.4.7, but you'll have msrestazure 0.5.0 which is incompatible.
azure-mgmt-recoveryservicesbackup 0.1.1 has requirement msrestazure~=0.4.11, but you'll have msrestazure 0.5.0 which is incompatible.
azure-mgmt-datalake-store 0.2.0 has requirement msrestazure~=0.4.7, but you'll have msrestazure 0.5.0 which is incompatible.
azure-mgmt-storage 1.5.0 has requirement msrestazure~=0.4.11, but you'll have msrestazure 0.5.0 which is incompatible.
azure-mgmt-iothubprovisioningservices 0.1.0 has requirement msrestazure~=0.4.11, but you'll have msrestazure 0.5.0 which is incompatible.
azure-keyvault 0.3.7 has requirement msrestazure~=0.4.7, but you'll have msrestazure 0.5.0 which is incompatible.
azure-mgmt-cdn 1.0.0 has requirement msrestazure~=0.4.7, but you'll have msrestazure 0.5.0 which is incompatible.
To Reproduce
pip install azure-cli
Expected behavior
No errors
Environment summary
created py2 venv with py -2 -m virtualenv c:\python27.virtualenv\py2
Additional context
i also have py3 installed
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 16 (12 by maintainers)
Links to this issue
Commits related to this issue
- packaging: fix depdencyies on old msrestazure(#6973) — committed to yugangw-msft/azure-cli by yugangw-msft 5 years ago
- Add tolerance to key management library packages. Fixes #6973 This is made possible by @lmazuel's awesome assistance, as well as PRs: Azure/azure-sdk-for-python#4541 Azure/azure-sdk-for-python#4542 ... — committed to marstr/azure-cli by marstr 5 years ago
- Add tolerance to key management library packages. (#8769) * Add tolerance to key management library packages. Fixes #6973 This is made possible by @lmazuel's awesome assistance, as well as PRs:... — committed to Azure/azure-cli by marstr 5 years ago
We’re in the process of updating dependencies of CLI SDKs to clear these incompatibilities. In reality, these incompatibilities won’t impact CLI function. As Laurent mentioned, the
azure-cli
is not intended to be used as an SDK. It is an application. If there is part of its function is useful to you, please open issue to suggest extract them into independent module.Thank you much, @lmazuel!
@marstr: https://pypi.org/project/azure-mgmt-datalake-analytics/0.2.1/ https://pypi.org/project/azure-mgmt-recoveryservicesbackup/0.1.2/ https://pypi.org/project/azure-mgmt-recoveryservices/0.1.1/
I’ve submitted three PRs against the Azure/azure-sdk-for-python repository that should relieve this issue. It should be noted, that this is a workaround more than a fix. The best resolution would be for the commands involved to be updated to adopt the newest versions of the management libraries, as @yugangw-msft had started to do with #8751. However, we need to be able to adopt new versions of msrestazure sooner than would be feasible given the scope of the changes @yugangw-msft was going to have to make.
(Very easy to reproduce; just
pip install azure-cli
in a fresh virtualenv.)Until CLI uses azure-mgmt-iothubprovisioningservices 0.2.0 which has the fix for this, add into your requirements to force msrestazure~=0.4.32