forked from hastexo/tutor-contrib-s3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Remove S3_COURSE_IMPORT_EXPORT_BUCKET
In upstream openedx-platform, if COURSE_IMPORT_EXPORT_BUCKET is set, COURSE_IMPORT_EXPORT_STORAGE will be set to ImportExportS3Storage which is a subclass of S3BotoStorage (https://github.com/edx/edx-platform/blob/master/cms/envs/production.py#L340). S3BotoStorage will break for Python versions >= 3.4.4 (see boto/boto#3433). Therefor we remove the COURSE_IMPORT_EXPORT_BUCKET parameter until this is fixed in upstream edx-platform.
- Loading branch information
Showing
4 changed files
with
2 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
"FILE_UPLOAD_STORAGE_BUCKET_NAME": "{{ S3_FILE_UPLOAD_BUCKET }}", | ||
"COURSE_IMPORT_EXPORT_BUCKET": "{{ S3_COURSE_IMPORT_EXPORT_BUCKET }}" | ||
"FILE_UPLOAD_STORAGE_BUCKET_NAME": "{{ S3_FILE_UPLOAD_BUCKET }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
"FILE_UPLOAD_STORAGE_BUCKET_NAME": "{{ S3_FILE_UPLOAD_BUCKET }}", | ||
"COURSE_IMPORT_EXPORT_BUCKET": "{{ S3_COURSE_IMPORT_EXPORT_BUCKET }}" | ||
"FILE_UPLOAD_STORAGE_BUCKET_NAME": "{{ S3_FILE_UPLOAD_BUCKET }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters