Skip to content

build: hold requirements at Python 3.11 until the LMS moves to 3.12 - #226

Merged
jristau1984 merged 1 commit into
mainfrom
jristau/requirements-bot-python-3.11
Nov 23, 2026
Merged

jristau1984 merged 1 commit into
mainfrom
jristau/requirements-bot-python-3.11

Conversation

@jristau1984

Copy link
Copy Markdown
Contributor

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

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>
@github-actions

Copy link
Copy Markdown

Coverage report

This PR does not seem to contain any modification to coverable code.

@jristau1984
jristau1984 merged commit 114157e into main Nov 23, 2026
9 checks passed
@jristau1984
jristau1984 deleted the jristau/requirements-bot-python-3.11 branch November 23, 2026 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants