Skip to content

Commit 190a8b8

Browse files
ormsbeekdmccormick
andauthored
fix: bump learning-core to 0.30.0 (#37614)
This pulls in publishing dependency changes from: openedx/openedx-learning#369 This fixes a bug where publishing a Content Library v2 container would publish only its direct children instead of publishing all ancestors. Co-authored-by: Kyle McCormick <[email protected]>
1 parent 5ef6be4 commit 190a8b8

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

openedx/core/djangoapps/content_libraries/tests/test_containers.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ def test_section_hierarchy(self):
630630
]
631631

632632
def test_subsection_hierarchy(self):
633-
with self.assertNumQueries(93):
633+
with self.assertNumQueries(95):
634634
hierarchy = self._get_container_hierarchy(self.subsection_with_units["id"])
635635
assert hierarchy["object_key"] == self.subsection_with_units["id"]
636636
assert hierarchy["components"] == [
@@ -653,7 +653,7 @@ def test_subsection_hierarchy(self):
653653
]
654654

655655
def test_units_hierarchy(self):
656-
with self.assertNumQueries(56):
656+
with self.assertNumQueries(60):
657657
hierarchy = self._get_container_hierarchy(self.unit_with_components["id"])
658658
assert hierarchy["object_key"] == self.unit_with_components["id"]
659659
assert hierarchy["components"] == [
@@ -679,7 +679,7 @@ def test_container_hierarchy_not_found(self):
679679
)
680680

681681
def test_block_hierarchy(self):
682-
with self.assertNumQueries(21):
682+
with self.assertNumQueries(27):
683683
hierarchy = self._get_block_hierarchy(self.problem_block["id"])
684684
assert hierarchy["object_key"] == self.problem_block["id"]
685685
assert hierarchy["components"] == [

requirements/common_constraints.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Django<6.0
2323
# See https://github.com/openedx/edx-platform/issues/35126 for more info
2424
elasticsearch<7.14.0
2525

26-
# pip 25.3 is incompatible with pip-tools hence causing failures during the build process
26+
# pip 25.3 is incompatible with pip-tools hence causing failures during the build process
2727
# Make upgrade command and all requirements upgrade jobs are broken due to this.
2828
# See issue https://github.com/openedx/public-engineering/issues/440 for details regarding the ongoing fix.
2929
# The constraint can be removed once a release (pip-tools > 7.5.1) is available with support for pip 25.3

requirements/constraints.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ numpy<2.0.0
6161
# Date: 2023-09-18
6262
# pinning this version to avoid updates while the library is being developed
6363
# Issue for unpinning: https://github.com/openedx/edx-platform/issues/35269
64-
openedx-learning==0.29.1
64+
openedx-learning==0.30.0
6565

6666
# Date: 2023-11-29
6767
# Open AI version 1.0.0 dropped support for openai.ChatCompletion which is currently in use in enterprise.

requirements/edx/base.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ openedx-filters==2.1.0
855855
# ora2
856856
openedx-forum==0.3.8
857857
# via -r requirements/edx/kernel.in
858-
openedx-learning==0.29.1
858+
openedx-learning==0.30.0
859859
# via
860860
# -c requirements/constraints.txt
861861
# -r requirements/edx/kernel.in

requirements/edx/development.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1419,7 +1419,7 @@ openedx-forum==0.3.8
14191419
# via
14201420
# -r requirements/edx/doc.txt
14211421
# -r requirements/edx/testing.txt
1422-
openedx-learning==0.29.1
1422+
openedx-learning==0.30.0
14231423
# via
14241424
# -c requirements/constraints.txt
14251425
# -r requirements/edx/doc.txt

requirements/edx/doc.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1033,7 +1033,7 @@ openedx-filters==2.1.0
10331033
# ora2
10341034
openedx-forum==0.3.8
10351035
# via -r requirements/edx/base.txt
1036-
openedx-learning==0.29.1
1036+
openedx-learning==0.30.0
10371037
# via
10381038
# -c requirements/constraints.txt
10391039
# -r requirements/edx/base.txt

requirements/edx/testing.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1079,7 +1079,7 @@ openedx-filters==2.1.0
10791079
# ora2
10801080
openedx-forum==0.3.8
10811081
# via -r requirements/edx/base.txt
1082-
openedx-learning==0.29.1
1082+
openedx-learning==0.30.0
10831083
# via
10841084
# -c requirements/constraints.txt
10851085
# -r requirements/edx/base.txt

0 commit comments

Comments
 (0)