-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Remove boto, upgrade boto3 & botocore #31175
Comments
The legacy We can move from s3boto is using these exception = https://github.com/boto/boto/blob/2.39.0/boto/exception.pys Plan:
|
There are multiple (6+) pipelines to upgrade from the boto-based backend to the boto3-based backend. We can try to upgrade pipelines in an incremental approach, try merging 2 pipelines at once so we can verify with ease on stage before pushing our changes to prod. |
We have successfully upgraded the django-storages to 1.9.1. Now only videos module left with boto import. For further upgrade to |
No usage found
|
Usage found in
These following three repos are interlinked and using python2.7. So not possible to update with boto3.
|
@jmbowman so far found usage here. I have created issues in these repos except |
There's a "boto usage" filter view in the Repo Health Dashboard spreadsheet that shows just repos with "boto==" in the Also, there seems to be a bug in the implementation of the |
Lots of entries are coming from xblock-sdk. I have already fixed that just need to merge and release version. |
https://github.com/openedx/openedxstats/pull/209/files PR created for openedxstats |
We have successfully upgraded the django-storages to 1.10.1. Now next target is |
|
edx-platform is still using versions of boto, boto3, and botocore that were originally pinned (by me) 4.5 years ago before the repo even had a constraints.txt file. boto isn't even supported anymore, and I recently stumbled into a performance problem that might just be fixed automatically by an upgrade. Please get us to reasonably current versions. Suggested sequence:
Finding the breaking changes may be difficult, as the boto3 and botocore changelogs are almost useless lists of daily API change notifications, and we don't really use boto3 in CI. But it looks like particular care may be needed for the upgrade to 1.9.0: https://boto3.amazonaws.com/v1/documentation/api/latest/guide/upgrading.html . And I suspect we don't use the vast majority of services covered in the changelog, so we may be ok just looking for changes related to s3 and maybe 1-2 other AWS services. Writing a doc on how to decide if it's safe to upgrade to a given boto3 or botocore release is probably a good idea, if you figure that out from this task.
Tasks
The text was updated successfully, but these errors were encountered: