Repository navigation
build: hold requirements at Python 3.11 until the LMS moves to 3.12 - #226
Merged
Merged
Conversation
The requirements bot compiled pins on 3.12, which picks versions that need Python >=3.12. edx.org's LMS, where this plugin is installed, runs 3.11. Also test on 3.11: CI tested only 3.12, which the LMS doesn't run yet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
santhosh-apphelix-2u
approved these changes
Nov 23, 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.
What
Compile the requirements bot's pins on Python 3.11, and test on 3.11 and 3.12.
Why
We're moving to Python 3.12, but edx.org's LMS, where this plugin is installed, still runs 3.11 (the edx-platform image is on Ubuntu focal with vendored Python 3.11; see BOMS-239). Compiling on 3.12 pins versions that require Python >=3.12 (e.g.
edx-django-utils==8.2.0,code-annotations==3.0.0), which can't install on 3.11.Rule of thumb: compile pins on the oldest supported Python, test on all supported versions.
This repo's CI tested only 3.12, so it never ran on the Python the LMS uses. This PR adds 3.11 to the CI matrix and tox envlist (coverage still uploads from the 3.12 jobs only).
The requirements bot here was disabled by GitHub for inactivity; it'll be re-enabled once this merges.
When the LMS moves to 3.12
Switch the bot back to 3.12 and drop 3.11 from the test matrix.
Same change as ai-aside#203, translatable-xblocks#86 and others.
Generated with Claude Code on behalf of @jristau1984.
🤖 Generated with Claude Code