-
-
Notifications
You must be signed in to change notification settings - Fork 183
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
Bump botocore
dependency specification
#1221
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1221 +/- ##
==========================================
- Coverage 86.35% 86.27% -0.08%
==========================================
Files 64 64
Lines 5986 5974 -12
==========================================
- Hits 5169 5154 -15
- Misses 817 820 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
6eb27a2
to
04135d5
Compare
Notes to reviewers:
|
04135d5
to
7da78cb
Compare
7da78cb
to
de1faf9
Compare
ya I'm not sure if |
I think it's populated here: aiobotocore/aiobotocore/endpoint.py Lines 57 to 65 in 8a50b61
|
Exactly: Case 1 and 4 result in bytes, case 3 cannot be reached in this context, but case 2 on line 60 is tricky. I have no idea under what condition this is reached, if at all, and whether it results in something that needs to be awaited. Beats me! |
I think here's an example: https://botocore.amazonaws.com/v1/documentation/api/latest/reference/eventstream.html |
isn't line 63 also a coroutine? That's like a s3 get-object body i think |
ideally we could add tests for this with moto |
btw you should add yourself to the sponsors, you've already done a ton of work |
There's a guard function |
Thanks, but I'm good :-) |
I could give it a shot towards the end of the week. Thanks for looking into it! |
Actually, I am suspecting that this guard function also prevents case 2 / line 60 from being reached. |
Description of Change
This PR intends to improve general compatibility of
aiobotocore
within the Python ecosystem by bumping the dependency specification ofbotocore
, as well asboto3
andawscli
.Assumptions
Upstream diff contains changes that require adjustments to the aiobotocore codebase.
Checklist for All Submissions
Checklist when updating botocore and/or aiohttp versions