Skip to content

chore: drop Python 3.11 and Django 4.2 support#397

Merged
bmtcril merged 4 commits intomasterfrom
feanil/drop_python_3.11
Mar 24, 2026
Merged

chore: drop Python 3.11 and Django 4.2 support#397
bmtcril merged 4 commits intomasterfrom
feanil/drop_python_3.11

Conversation

@feanil
Copy link
Copy Markdown
Contributor

@feanil feanil commented Mar 23, 2026

Summary

  • Drop Python 3.11 from CI matrix, tox envlist, and package classifiers
  • Drop Django 4.2 from CI matrix, tox envlist, and package classifiers
  • Regenerate pinned requirements using Python 3.12
  • Bump version to 4.0.0

Context

Python 3.11 is being dropped across the Open edX ecosystem as part of the move
to standardize on Python 3.12. See the tracking issue for the full list of repos:
openedx/public-engineering#499

Django 4.2 reached end-of-life in April 2024.

Test plan

  • CI passes with Python 3.12 / Django 5.2 only

feanil and others added 3 commits March 23, 2026 16:28
- Remove Python 3.11 from CI matrix and tox envlist
- Remove Django 4.2 from CI matrix and tox envlist
- Remove Python 3.11 and Django 4.2 trove classifiers from setup.py

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@feanil feanil force-pushed the feanil/drop_python_3.11 branch from 8931c78 to 8277add Compare March 23, 2026 20:29
assertDictContainsSubset was deprecated in Python 3.2 and removed in 3.12.
Replace with an equivalent inline assertion.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@feanil feanil marked this pull request as ready for review March 23, 2026 20:37
@feanil feanil requested a review from bmtcril March 23, 2026 20:38
@bmtcril bmtcril merged commit 86f4a7c into master Mar 24, 2026
3 checks passed
@bmtcril bmtcril deleted the feanil/drop_python_3.11 branch March 24, 2026 11:42
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