We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
import boto3 from moto import mock_aws class Test_CUSTOM_ENABLE_S3_POLICY: @mock_aws def test_success2(self): client = boto3.client("s3", region_name="us-east-1") client.create_bucket(Bucket="test") client.put_bucket_policy(Bucket="test", Policy='{}') assert 1 == 1
happens with latest, if I hard code to older it works:
pytest boto3 == 1.35.37 botocore == 1.35.37 moto >= 5.0.16.dev5
the test takes a lot longer as it is reaching to AWS
E botocore.exceptions.ClientError: An error occurred (500) when calling the PutBucketPolicy operation (reached max retries: 4): Internal Server Error
Name: moto Version: 5.0.18
and Successfully installed boto3-1.35.45 botocore-1.35.45
Successfully installed boto3-1.35.45 botocore-1.35.45
The text was updated successfully, but these errors were encountered:
I think this may be an issue with the latest version of botocore (see boto/botocore#3284).
botocore
Sorry, something went wrong.
This should be fixed by updating to botocore>=1.35.47.
botocore>=1.35.47
confirmed, it works with botocore>=1.35.47
No branches or pull requests
how to reproduce the issue
happens with latest, if I hard code to older it works:
what actually happens
the test takes a lot longer as it is reaching to AWS
version of Moto
and
Successfully installed boto3-1.35.45 botocore-1.35.45
The text was updated successfully, but these errors were encountered: