Skip to content
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

Refactored AWS S3 backend to work correctly with boto3 to upload files to a S3 bucket. #78

Merged
merged 1 commit into from
Apr 1, 2023

Conversation

JesusAnaya
Copy link
Contributor

  • Changes the logic in the file amazon_s3.py to update the code to work correctly with the last version of boto3. The current code in the library is broken.

It raised the following error: AttributeError: 'S3' object has no attribute 'get_bucket'. Did you mean: 'head_bucket'?

The updated code was tested using the current commands in the documentation, and it's working correctly; I could submit a website to an S3 bucket in AWS S3. Please merge this solution.

@meeb
Copy link
Owner

meeb commented Apr 1, 2023

Looks good, thanks! I've not personally used the S3 back end for some time so I'm not surprised it needed an update. I'll merge this and it'll be in the next release.

@meeb meeb merged commit 9b791f1 into meeb:master Apr 1, 2023
@meeb
Copy link
Owner

meeb commented Apr 11, 2023

This has been rolled into the latest release, v3.1.3 and is available now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants