Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@ instructions, because git commits are used to generate release notes:

<!-- scriv-insert-here -->

<a id='changelog-21.0.0'></a>
## v21.0.0 (2025-10-15)

- [Improvement] Migrate from pylint and black to ruff. (by @Danyal-Faheem)
- [Improvement] Test python package distribution build when running make test. (by @Danyal-Faheem)

- 💥[Bugfix] Migrate from using DEFAULT_FILE_STORAGE to STORAGES as part of the major Django 5.2 upgrade in Open edX. (by @rehmansheikh222)

- 💥[Feature] Upgrade to Ulmo. (by @rehmansheikh222)

<a id='changelog-20.0.0'></a>
## v20.0.0 (2025-06-05)

Expand Down
2 changes: 0 additions & 2 deletions changelog.d/20250808_194248_danyal.faheem_migrate_ruff.md

This file was deleted.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ classifiers = [
"Programming Language :: Python :: 3.12",
]
dependencies = [
"tutor>=20.0.0,<21.0.0",
"tutor>=21.0.0,<22.0.0",
]
# these fields will be set by hatch_build.py
dynamic = ["version"]

[project.optional-dependencies]
dev = [
"tutor[dev]>=20.0.0,<21.0.0",
"tutor[dev]>=21.0.0,<22.0.0",
"ruff"
]

Expand Down
2 changes: 1 addition & 1 deletion tutorminio/__about__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "20.0.0"
__version__ = "21.0.0"
2 changes: 1 addition & 1 deletion tutorminio/patches/discovery-common-settings
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MinIO object storage
DEFAULT_FILE_STORAGE = "storages.backends.s3boto3.S3Boto3Storage"
STORAGES["default"]["BACKEND"] = "storages.backends.s3boto3.S3Boto3Storage"
AWS_ACCESS_KEY_ID = "{{ OPENEDX_AWS_ACCESS_KEY }}"
AWS_SECRET_ACCESS_KEY = "{{ OPENEDX_AWS_SECRET_ACCESS_KEY }}"
AWS_S3_SIGNATURE_VERSION = "s3v4"
Expand Down
4 changes: 2 additions & 2 deletions tutorminio/patches/openedx-common-settings
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
DEFAULT_FILE_STORAGE = "storages.backends.s3boto3.S3Boto3Storage"
STORAGES["default"]["BACKEND"] = "storages.backends.s3boto3.S3Boto3Storage"
VIDEO_IMAGE_SETTINGS["STORAGE_KWARGS"]["location"] = VIDEO_IMAGE_SETTINGS["STORAGE_KWARGS"]["location"].lstrip("/")
VIDEO_TRANSCRIPTS_SETTINGS["STORAGE_KWARGS"]["location"] = VIDEO_TRANSCRIPTS_SETTINGS["STORAGE_KWARGS"]["location"].lstrip("/")
GRADES_DOWNLOAD["STORAGE_KWARGS"] = {"location": GRADES_DOWNLOAD["STORAGE_KWARGS"]["location"].lstrip("/")}
GRADES_DOWNLOAD["STORAGE_KWARGS"]["bucket_name"] = "{{ MINIO_GRADES_BUCKET_NAME }}"
OPENEDX_LEARNING["MEDIA"]["BACKEND"] = DEFAULT_FILE_STORAGE
OPENEDX_LEARNING["MEDIA"]["BACKEND"] = STORAGES["default"]["BACKEND"]
OPENEDX_LEARNING["MEDIA"]["OPTIONS"] = {
'bucket_name': "{{ MINIO_OPENEDX_LEARNING_BUCKET_NAME }}",
}
Expand Down
2 changes: 1 addition & 1 deletion tutorminio/patches/openedx-lms-production-settings
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PROFILE_IMAGE_BACKEND = {
"class": DEFAULT_FILE_STORAGE,
"class": STORAGES["default"]["BACKEND"],
"options": {
"bucket_name": "{{ MINIO_BUCKET_NAME }}",
"querystring_auth": False,
Expand Down
Loading