-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
has requirement msrestazure~=0.4.7, but you'll have msrestazure 0.5.0 which is incompatible. #6973
Comments
Workaround? It's breaking my py2 modules, which I need to ship soon. |
@jongio That should not break anything, pip shows this as a warning but still installs everything. And this is still functionnal. Please describe how it breaks something? pip install msrestazure~=0.4.32 azure-cli |
My module does this: requirements = [ Which causes this when run: I can work around this by removing all the azure-cli* entries and manually installing the azure-cli
Thx. I will try that version force as well. |
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 |
Confirming that this worked
Also, I got it to work by not running |
I've got the same problem. In addition, I'd also like to install "azure" and "azure-cli" together. This causes a bunch of modules to get uninstalled/replaced. Post install of azure-cli, if I try a
Is there any way that I can specify a version of azure and azure-cli so that neither has broken dependencies? |
TL;DR; developping SDK using However, having CLI and a working SDK environment in the same shell makes total sense. What I would suggest is to use two virtualenvs, and link the Final note, |
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 |
This is still occurring, any plans to address it? |
Hi @OddBloke , do you have the list of packages that still complains? I would have expected this to be empty by now :( |
(Very easy to reproduce; just |
I am facing the same issue. I was trying a lot of things. I realised that the problem is with this one. |
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. |
Thank you much, @lmazuel! |
Fixes Azure#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 Azure/azure-sdk-for-python#3543
* 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 Azure/azure-sdk-for-python#3543 * Updating version numbers and release notes * Responding to review feedback. ~= is okay, but the fix is actually to bump the version. It's better to be explicit.
Describe the bug
Get this when I run pip install
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
The text was updated successfully, but these errors were encountered: