-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Some CLI commands fail due to issues with 'requests' v2.12.1 #1360
Comments
@derekbekoe: we need to revert this and update to pypi builds asap. lets discuss if you disagree. |
Hi @derekbekoe |
I confirm I was able to use requests 2.12.1 with |
@derekbekoe to provide details but his observation has been that it works on clean install. this was observed in machines that were upgraded, |
Bug already reported at request package: https://github.com/kennethreitz/requests/issues/3701 |
In my test I updated a given 3.5 venv from requests 2.11.1 to 2.12.1 (Windows) |
Closing issue and marking as FAQ due to https://github.com/kennethreitz/requests/issues/3701#issuecomment-262923046. |
The 'requests' package was updated 2016-11-16 to version 2.12.1 - https://pypi.python.org/pypi/requests/.
In this update, version of urllib3 that is bundled with 'requests' was updated to 1.19.1 (also published 2016-11-16) - https://pypi.python.org/pypi/urllib3.
When the CLI and its dependencies are installed, the latest version of 'requests' is installed and it seems there's some incompatibility between the Azure SDK and the latest version of 'requests'.
I mention the Azure SDK but looks like adal also breaks for the same reason.
Current work around if you run into the error below is to downgrade 'requests' to 2.11.1.
e.g.
pip install requests==2.11.1
.Related to Azure/azure-sdk-for-python#889.
//cc: @yugangw-msft, @johanste, @lmazuel
Full stace trace after an
az vm list
. When I downgrade 'requests', it works.The text was updated successfully, but these errors were encountered: