From 2a6f0f23e9138c770258ff2010e87cb12d681782 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B4mulo=20Penido?= Date: Wed, 14 Aug 2024 10:38:31 -0300 Subject: [PATCH] feat: add collections app from openedx-learning --- cms/envs/common.py | 1 + lms/envs/common.py | 1 + requirements/constraints.txt | 2 +- requirements/edx/base.txt | 2 +- requirements/edx/development.txt | 2 +- requirements/edx/doc.txt | 2 +- requirements/edx/kernel.in | 4 +++- requirements/edx/testing.txt | 2 +- 8 files changed, 10 insertions(+), 6 deletions(-) diff --git a/cms/envs/common.py b/cms/envs/common.py index be837c518981..45a8e97f3e51 100644 --- a/cms/envs/common.py +++ b/cms/envs/common.py @@ -1880,6 +1880,7 @@ 'openedx_events', # Learning Core Apps, used by v2 content libraries (content_libraries app) + "openedx_learning.apps.authoring.collections", "openedx_learning.apps.authoring.components", "openedx_learning.apps.authoring.contents", "openedx_learning.apps.authoring.publishing", diff --git a/lms/envs/common.py b/lms/envs/common.py index d0d2eeae765c..e86fc0ccb95c 100644 --- a/lms/envs/common.py +++ b/lms/envs/common.py @@ -3391,6 +3391,7 @@ def _make_locale_paths(settings): # pylint: disable=missing-function-docstring 'openedx_events', # Learning Core Apps, used by v2 content libraries (content_libraries app) + "openedx_learning.apps.authoring.collections", "openedx_learning.apps.authoring.components", "openedx_learning.apps.authoring.contents", "openedx_learning.apps.authoring.publishing", diff --git a/requirements/constraints.txt b/requirements/constraints.txt index 0a95e5c8a4cb..b50d51736d30 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -87,7 +87,7 @@ libsass==0.10.0 click==8.1.6 # pinning this version to avoid updates while the library is being developed -openedx-learning==0.10.1 +openedx-learning==0.11.0 # Open AI version 1.0.0 dropped support for openai.ChatCompletion which is currently in use in enterprise. openai<=0.28.1 diff --git a/requirements/edx/base.txt b/requirements/edx/base.txt index 6a15216943f6..fb3e6daf1c2a 100644 --- a/requirements/edx/base.txt +++ b/requirements/edx/base.txt @@ -821,7 +821,7 @@ openedx-filters==1.9.0 # -r requirements/edx/kernel.in # lti-consumer-xblock # ora2 -openedx-learning==0.10.1 +openedx-learning @ git+https://github.com/openedx/openedx-learning # via # -c requirements/edx/../constraints.txt # -r requirements/edx/kernel.in diff --git a/requirements/edx/development.txt b/requirements/edx/development.txt index 8155169e33d3..8e47aecc8dd3 100644 --- a/requirements/edx/development.txt +++ b/requirements/edx/development.txt @@ -1371,7 +1371,7 @@ openedx-filters==1.9.0 # -r requirements/edx/testing.txt # lti-consumer-xblock # ora2 -openedx-learning==0.10.1 +openedx-learning @ git+https://github.com/openedx/openedx-learning # via # -c requirements/edx/../constraints.txt # -r requirements/edx/doc.txt diff --git a/requirements/edx/doc.txt b/requirements/edx/doc.txt index bb81b7b71ac3..442d4759cf0e 100644 --- a/requirements/edx/doc.txt +++ b/requirements/edx/doc.txt @@ -980,7 +980,7 @@ openedx-filters==1.9.0 # -r requirements/edx/base.txt # lti-consumer-xblock # ora2 -openedx-learning==0.10.1 +openedx-learning @ git+https://github.com/openedx/openedx-learning # via # -c requirements/edx/../constraints.txt # -r requirements/edx/base.txt diff --git a/requirements/edx/kernel.in b/requirements/edx/kernel.in index a5b510742ac7..32d7e3efa812 100644 --- a/requirements/edx/kernel.in +++ b/requirements/edx/kernel.in @@ -119,7 +119,9 @@ openedx-calc # Library supporting mathematical calculatio openedx-django-require openedx-events # Open edX Events from Hooks Extension Framework (OEP-50) openedx-filters # Open edX Filters from Hooks Extension Framework (OEP-50) -openedx-learning # Open edX Learning core (experimental) +# openedx-learning # Open edX Learning core (experimental) +# FixMe: remove this when we have a new release of openedx-learning +openedx-learning @ git+https://github.com/openedx/openedx-learning openedx-mongodbproxy openedx-django-wiki path diff --git a/requirements/edx/testing.txt b/requirements/edx/testing.txt index 18c988dfb622..78dcec080b45 100644 --- a/requirements/edx/testing.txt +++ b/requirements/edx/testing.txt @@ -1031,7 +1031,7 @@ openedx-filters==1.9.0 # -r requirements/edx/base.txt # lti-consumer-xblock # ora2 -openedx-learning==0.10.1 +openedx-learning @ git+https://github.com/openedx/openedx-learning # via # -c requirements/edx/../constraints.txt # -r requirements/edx/base.txt