-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated #1885
Comments
+1 |
It seems to be a different issue as I got the same Deprecation Warning from awsrequest.py:624 , not the vendored requests. botocore.version = '1.13.16' Changing
to
fixes this warning and is pythonic IMHO. Pytest will then throw the same DeprecationWarning from session.py:947 instead. I can create a PR for it if you like : ) Update: Should replace |
I'm also seeing this error:
|
Sorry for the late reply. We are working on a fix for it. I will update here when it will be fixed. |
this pr thats been around for a few weeks will fix it #1865 |
@swetashre perhaps you want to merge #1865 as @kapilt mentioned? It's a pretty small/simple change. |
Now i am not getting error with this code : In [5]: import botocore
In [6]: botocore.__version__
Out[6]: '1.13.44'
In [7]: import collections
In [8]: collections.MutableMapping
Out[8]: collections.abc.MutableMapping Please let me know if anyone is still getting the error. This issue is fixed with the merge of PR #1922 |
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further. |
Referencing
collections.MutableMapping
rather thancollections.abc.MutableMapping
triggers a deprecation warning.The reference occurs here:
https://github.com/boto/botocore/blob/develop/botocore/awsrequest.py#L624
The text was updated successfully, but these errors were encountered: