-
-
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
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1221 +/- ##
==========================================
+ Coverage 87.73% 88.05% +0.32%
==========================================
Files 65 67 +2
Lines 5823 5904 +81
==========================================
+ Hits 5109 5199 +90
+ Misses 714 705 -9
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:
|
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
|
This comment was marked as outdated.
This comment was marked as outdated.
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 |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
de1faf9
to
12b7fc3
Compare
I've included all pending botocore updates into this PR, including support for DSQL auth and all the other new and updated AWS services. We still need include unit tests, in particular with regards to the issue discussed above. Hopefully this weekend... |
Well, that example doesn't work for me: AWS no longer accepts new users for S3 Select. I will need to find another service that uses event streams. |
looks like bedrock supports eventstreams as well: https://docs.aws.amazon.com/bedrock/latest/userguide/agents-test.html |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
facd609
to
f2771ce
Compare
f2771ce
to
a73f8c2
Compare
I've included relevant unit tests from upstream, resulting in full test coverage. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
sorry I thought I approved this yesterday |
oh, shoot forgot to see if we got coverage now for that new method |
Patch coverage is not relevant here, since the method remains in botocore and is not replaced by us. I was not able to come up with an example that triggers that method locally. I tried the S3 Select API with and without moto and for some reason the breakpoints never hit. Probably my bad. Having analyzed the code path, I would be surprised if we have an issue, but still can't fully rule it out. Looking at possible values for
|
welp lets get it out, if something breaks we can figure out what tests we need to port over or new ones to write |
@@ -22,4 +22,5 @@ docker~=7.1 | |||
moto[server,s3,sqs,awslambda,dynamodb,cloudformation,sns,batch,ec2,rds]~=4.2.9 | |||
pre-commit~=3.5.0 | |||
pytest-asyncio~=0.23.8 | |||
time-machine~=2.15.0 |
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.
this doesn't appear to have been needed
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
botocore
dependency #1229Checklist when updating botocore and/or aiohttp versions