From f21d3384c76dba6d3042ada7725797f1ea97673b Mon Sep 17 00:00:00 2001 From: Maria Grimaldi Date: Fri, 31 May 2024 17:15:32 -0400 Subject: [PATCH] fix: replace deprecated bucket argument for recommended bucket_name (#107) The S3Boto3Storage backend no longer accepts the argument bucket. Use bucket_name or the setting AWS_STORAGE_BUCKET_NAME instead: https://github.com/jschneier/django-storages/pull/636 --- drydock/patches/openedx-common-settings | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drydock/patches/openedx-common-settings b/drydock/patches/openedx-common-settings index 4a5d7462..7bff027e 100644 --- a/drydock/patches/openedx-common-settings +++ b/drydock/patches/openedx-common-settings @@ -8,7 +8,7 @@ def scorm_xblock_storage(xblock): else: domain = settings.CMS_BASE return S3Boto3Storage( - bucket=AWS_STORAGE_BUCKET_NAME, + bucket_name=AWS_STORAGE_BUCKET_NAME, access_key=AWS_ACCESS_KEY_ID, secret_key=AWS_SECRET_ACCESS_KEY, querystring_expire=86400,