Repository navigation
feat: Upgrade dependencies and Python version to 3.12 for learner-pat… - #26
Merged
alenkadev merged 2 commits intoOct 12, 2026
Merged
Conversation
Member
There was a problem hiding this comment.
The Django 5 fixes (index_together to indexes), migration 0006, the workflow bumps and the regenerated pylintrc look good, and 2.0.0 is the right version bump. One thing to fix before merge, plus a few small items.
Must fix: docs/conf.py breaks the Read the Docs build. The new django_setup() call falls back to test_utils.test_settings, which doesn't exist. Details and a checked fix are in the inline suggestion.
Optional (inline): drop the dead default_app_config line, and reuse edx-platform's index names in the mock grades model.
Small things
- Description: the Jira link text says LP-1287 but points to LP-1282.
CHANGELOG.rstand description: 2.0.0 now requires Python 3.12, so it drops 3.9-3.11 as well, not only 3.8. Suggest saying "Requires Python 3.12+" so it's clear to whoever bumps the LMS pin.README.rststill saysmkvirtualenv -p python3.8; it should bepython3.12.setup.pystill has theFramework :: Django :: 2.2classifier;Framework :: Django :: 5.2matches what CI tests.
Rollout
- edx-internal pins
learner-pathway-progress<1.3.5for the LMS. 2.0.0 requires Python 3.12 and edxapp (edx-platformrelease-ulmo) still runs 3.11, so that pin can only be bumped after edxapp moves to 3.12. - When the pin is bumped, migration
0006adds an index onhistory_datein the LMS historical table, so check that table's size first.
abhalsod-sonata
approved these changes
Oct 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Upgrades learner-pathway-progress to Python 3.12 and Django 5.2 LTS
Breaking change: drops support for Python 3.8 and Django 3.2/4.0. Version bumped to 2.0.0.
jira_link: LP-1282
py312-django52index_together→indexes; added migration0006(django-simple-history)pylintrc(edx-lint 6.2.0),.readthedocs.yaml, and the toxdocsenvTesting:
toxon Python 3.12 passes: 24 tests, quality, docs and pii_check.