Skip to content

Conversation

samuelhwilliams
Copy link
Contributor

@samuelhwilliams samuelhwilliams commented Oct 26, 2024

boto has long since been deprecated and replaced by boto3. This patch moves over to using the new boto3 library for interacting with the S3 bucket.

This is a breaking change because the interface for S3FileAdmin also changes - rather than taking the AWS keys directly, it now takes a boto.client('s3') instance.


Caveat: I reckon there are a bunch of performance issues with S3FileAdmin that it would be good to close off and improve. But I think that's the case currently, so I'm leaving them out of scope for now. I don't believe this PR makes the situation drastically worse. #2553


fixes: #2347
fixes: #2250

@samuelhwilliams samuelhwilliams force-pushed the boto-to-boto3 branch 3 times, most recently from 4d4e6f3 to 97dc171 Compare October 26, 2024 23:16
@samuelhwilliams samuelhwilliams marked this pull request as ready for review October 26, 2024 23:19
`boto` has long since been deprecated and replaced by `boto3`. This
patch moves over to using the new `boto3` library for interacting with
the S3 bucket.

This is a breaking change because the interface for S3FileAdmin also
changes - rather than taking the AWS keys directly, it now takes a
boto.client('s3') instance.
@samuelhwilliams samuelhwilliams merged commit ddab93f into master Oct 27, 2024
12 checks passed
@samuelhwilliams samuelhwilliams deleted the boto-to-boto3 branch October 27, 2024 09:38
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

S3FileAdmin runs on (old) boto. Remove access-key / secret from S3FileAdmin-class

1 participant