diff --git a/changelog.d/20250203_192055_danyal.faheem_allow_installing_scorm_xblock_using_patch.md b/changelog.d/20250203_192055_danyal.faheem_allow_installing_scorm_xblock_using_patch.md new file mode 100644 index 0000000000..d68195acca --- /dev/null +++ b/changelog.d/20250203_192055_danyal.faheem_allow_installing_scorm_xblock_using_patch.md @@ -0,0 +1 @@ +- [Improvement] Allow installing custom openedx-scorm-xblock using the openedx-dockerfile-post-python-requirements patch. (by @Danyal-Faheem) \ No newline at end of file diff --git a/tutor/templates/build/openedx/Dockerfile b/tutor/templates/build/openedx/Dockerfile index 15e63cb33d..44761249e9 100644 --- a/tutor/templates/build/openedx/Dockerfile +++ b/tutor/templates/build/openedx/Dockerfile @@ -111,11 +111,11 @@ RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared \ UWSGI_PROFILE_OVERRIDE="xml=no" \ pip install --no-cache-dir --compile uwsgi==2.0.24 -{{ patch("openedx-dockerfile-post-python-requirements") }} - # Install scorm xblock RUN pip install "openedx-scorm-xblock>=19.0.0,<20.0.0" +{{ patch("openedx-dockerfile-post-python-requirements") }} + {% for extra_requirements in OPENEDX_EXTRA_PIP_REQUIREMENTS %} RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared \ pip install '{{ extra_requirements }}'