The edx-platform codebase already includes quite a few type annotations, but
they were not regularly checked. This may cause problems, when the annotations
themselves include errors (as we found out in some of the learning_sequences
annotations). So here, we add mypy as a dev requirement and introduce a make
command to run mypy regularly. Mypy runs on a very small portion of the total
edx-platform, as configured in mypy.ini. Our hope is that developers will add
more and more modules to this configuration file, until we can eventually run
mypy on the full code base.
See discussion: https://discuss.openedx.org/t/dev-notes-running-mypy-on-edx-platform/4860
This version of the edx-proctoring library includes a fix to a bug in the onboarding status panel. This bug was preventing the appearance of the onboarding panel in a learner's course outline if an onboarding exam in the course was inaccessible to the learner in such a way that the Learning Sequences API did not return schedule information for the sequence. An onboarding exam that is content gated by enrollment track to an enrollment track in which the learner is not enrolled is an example of this. The bug was that the StudentOnboardingStatusView was not taking into account that an inaccessible sequence might not have a schedule.
This version of the edx-proctoring library includes changes to the onboarding status panel that is displayed in a learner's course outline. If all onboarding exams are past due, the button to go to the onboarding exam will be grayed out and will contain the text "Onboarding Past Due". If there are any available onboarding exams, the panel will work as before. If there are any onboarding exams that will be released in the future, they will be prioritized over the past due onboarding exams.
The latest version of edx-proctoring contains changes that allow a proctoring provider's onboarding status api to be used for the student onboarding info panel
this url is shown on course home for backends which support onboarding
as part of the panel about onboarding status. This feature allows us
to configure this url via remote config.
JIRA:MST-824
* fix: 🐛 ENT-4525 fix learner portal experience courseEnrollment records are missing
sometimes integrations may create EnterpriseCourseEnrollments but for some reason missing courseEnrollment, in this case we want to just filter out the EnterpriseCourseEnrollments instead of erroring the learner poratl
ENT-4525
* fix: pylint fixes
pylint fixes
This change embraces persistent min-version dependencies, which can
simply be ratcheted up over time, or safely removed in time because IDAs
rarely have a large dependency downgrade.
Some dependencies are already encoded with a min-version constraint, which
makes the previous instructions confusing. There was also a very minor
issue in which the temporary constraint line was adding a spurious
`-c constraints.txt` to the committed changes, even though the constraint
itself was not being committed.
This change inspired by discussion on PR #27506.
Enterprise was still using email_marketing code. This will bump
enterprise to a version that does not any more. And also temporarily
put the email_marketing model back for blue/green deploy sanity.