-
-
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
Crash with aiohttp 3.1.x related to use of StreamReader #551
Comments
ya, we should have caught in #536 that aiohttp needs to be upper-bound version locked. We need to add a comment so people don't do this again. |
Sorry, guys. My personal fault. But I did run too fast. Sorry again. As alternative I see the commitment on publishing a new aiobotocore version with the lock raised up to the latest aiohttp after every aiohttp release if tests are passed. It looks too complex burden. On my side I wish to use the latest aiobotocore with the latest aiohttp (my company uses both libraries). |
@asvetlov no worries! will do |
Thanks guys, libraries these and maintainers like you are why I love Python. 🤗 |
Fixed by aiohttp 3.1.1 release |
@asvetlov I'm still getting the same crash after updating to aiohttp 3.1.1:
|
ya, seems like |
But |
@asvetlov @adamrothman figured it out, looks like |
fixed with #569 |
Thank you for fixing this issue. I just tripped over it on the |
Probably due to typo |
very weird, I don't remember putting a0 |
https://pypi.org/project/aiobotocore/0.7.0/ released new version |
sigh, this time RST formatting is broken on PyPI |
weird, how did that happen? |
I edited changes.rst and broke formatting #571 , anyway added command to test RST correctness. |
So is there any fix for this now? im kinda confused on how to do it
this is my code but now im getting this error after i changed .content to ._body
|
you can't directly pass response['Body'] to BytesIO as it's an async stream |
I'm getting a crash using aiobotocore 0.6.0 with aiohttp 3.1.0 (released yesterday 2018-03-21). It appears to be related to botocore's response checking:
Here's a minimal reproducer:
I've also tried
client.describe_table
, which results in the same error. It seems like the semantics forStreamReader
have changed such that it can no longer be treated like data.The crash does not occur with aiohttp 3.0.9.
Environment:
The text was updated successfully, but these errors were encountered: