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)#1865terencehonles wants to merge 2 commits intoboto:developfrom terencehonles:fix-collections.abc-deprecation-warnings
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 |
tirkarthi
left a comment
There was a problem hiding this comment.
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
|
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.