-
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
fix deprecation warnings for collections.abc (will break in Python 3.9) #1865
fix deprecation warnings for collections.abc (will break in Python 3.9) #1865
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #1865 +/- ##
===========================================
+ Coverage 92.56% 92.67% +0.11%
===========================================
Files 53 53
Lines 10000 10181 +181
===========================================
+ Hits 9256 9435 +179
- Misses 744 746 +2
Continue to review full report at Codecov.
|
FYI the title seems misleading: it breaks with the newly released Python 3.8, not the next-year unreleased 3.9. We haven't tested yet, but the message seems straightforward about this:
|
Thanks, it would be great to see this PR merged! @b4stien it looks like they actually pushed the removal to 3.9 when they released 3.8--see #1615 (comment) or this Twitter thread for more details. |
@toolness I didn't realize it moved! I thought I just remembered it incorrectly. I had checked the Python source and saw it in 3.8 when I was checking this and itypes, which I had on an ignore list for the DeprecationWarning and was preparing to start testing against 3.8. |
Is this fixed yet? I feel like this should be a higher priority item. Lambda supports 3.8 yet we cannot safely use boto3 in Python 3.8 because of this deprecation. This is still an issue in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is one more instance in tests which could also be fixed with the PR :
botocore/tests/unit/test_parsers.py
Line 28 in 5fb69ec
class CustomHeaderDict(collections.MutableMapping): |
Python 3.9 will raise an ImportError as per upstream PR : python/cpython#10596 |
Will anyone ever merge this? |
@tirkarthi thanks, I updated the test! Now to get this merged 🤔... |
This is no longer needed with #1922 which does the same thing. |
No description provided.