Closed JayFields closed 28 minutes ago
Thanks for reporting the issue. This appears to be same issue reported in https://github.com/boto/botocore/issues/3284. As mentioned there:
...we were able to reproduce this in 1.35.45. A fix is pending release here: #3285
https://github.com/boto/botocore/pull/3285 was just merged so should the fix should be released soon. We'll update these issues when the new release including the fix is out, and you can also check the CHANGELOG for updates.
This should now be fixed in version 1.35.46. Please try updating your version of boto3 and let us know if you're still running into any issues. I'll close this for consolidation and follow up on the original issue (https://github.com/boto/botocore/issues/3284).
Describe the bug
s3_client.select_object_content()
has stopped working in the latest boto3 release (possibly more). It fails withTypeError: a bytes-like object is required, not 'HTTPResponse'
Regression Issue
Expected Behavior
A successful response that points to bucket data when issuing a query such as:
Response with boto3 1.34.148 (from about 3 months ago):
Current Behavior
In the latest boto3 1.35.45 I get a stack trace:
Reproduction Steps
Perform an S3 query with boto3 1.35.45 similar to that described in Expected Behavior
Possible Solution
Revert the code change that introduced the issue
Additional Information/Context
No response
SDK version used
1.35.45
Environment details (OS name and version, etc.)
MacOS (ARM) and Lambda (x86)