chore: bumping enterprise to version 3.61.0

This commit is contained in:
Alex Sheehan
2023-02-14 20:42:35 +00:00
parent 83f6e560b7
commit b72875fd26
6 changed files with 6 additions and 9 deletions

View File

@@ -836,7 +836,7 @@ def get_enterprise_course_enrollments(user):
"""
return EnterpriseCourseEnrollment.objects.select_related(
'licensed_with',
'licensedenterprisecourseenrollment_enrollment_fulfillment',
'enterprise_customer_user'
).prefetch_related(
'enterprise_customer_user__enterprise_customer'

View File

@@ -1,10 +1,7 @@
"""
APIs providing enterprise context for events.
"""
try:
from enterprise.models import EnterpriseCourseEnrollment
except ImportError: # pragma: no cover
pass
from enterprise.models import EnterpriseCourseEnrollment
def get_enterprise_event_context(user_id, course_id):

View File

@@ -25,7 +25,7 @@ django-storages<1.9
# The team that owns this package will manually bump this package rather than having it pulled in automatically.
# This is to allow them to better control its deployment and to do it in a process that works better
# for them.
edx-enterprise==3.60.21
edx-enterprise==3.61.0
# oauthlib>3.0.1 causes test failures ( also remove the django-oauth-toolkit constraint when this is fixed )
oauthlib==3.0.1

View File

@@ -472,7 +472,7 @@ edx-drf-extensions==8.4.1
# edx-when
# edxval
# learner-pathway-progress
edx-enterprise==3.60.21
edx-enterprise==3.61.0
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/base.in

View File

@@ -595,7 +595,7 @@ edx-drf-extensions==8.4.1
# edx-when
# edxval
# learner-pathway-progress
edx-enterprise==3.60.21
edx-enterprise==3.61.0
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/testing.txt

View File

@@ -574,7 +574,7 @@ edx-drf-extensions==8.4.1
# edx-when
# edxval
# learner-pathway-progress
edx-enterprise==3.60.21
edx-enterprise==3.61.0
# via
# -c requirements/edx/../constraints.txt
# -r requirements/edx/base.txt