Skip to content

chore: drop Python 3.11 support - #429

Merged
feanil merged 3 commits into
masterfrom
feanil/drop_python_3.11
Apr 2, 2026
Merged

feanil merged 3 commits into
masterfrom
feanil/drop_python_3.11

Conversation

@feanil

@feanil feanil commented Mar 7, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Drop Python 3.11 support: remove from CI test matrix, tox envlist, and package classifiers
  • Regenerate pinned requirements using Python 3.12
  • Bump version to 4.0.0 — dropping Python support is a breaking change, so this is a major version bump

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

Test plan

  • CI passes with Python 3.12 only

@codecov

codecov Bot commented Mar 7, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.06%. Comparing base (a15b198) to head (63dd845).
⚠️ Report is 26 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #429      +/-   ##
==========================================
- Coverage   94.13%   94.06%   -0.07%     
==========================================
  Files          31       31              
  Lines        3068     3068              
  Branches      191      191              
==========================================
- Hits         2888     2886       -2     
- Misses        155      156       +1     
- Partials       25       26       +1     
Flag Coverage Δ
unittests 94.06% <100.00%> (-0.07%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@feanil
feanil marked this pull request as ready for review March 8, 2026 15:18
@feanil
feanil requested a review from ormsbee March 9, 2026 11:54
@feanil
feanil force-pushed the feanil/drop_python_3.11 branch 2 times, most recently from bfdf5ff to 40c20b9 Compare March 10, 2026 18:13
@irtazaakram

Copy link
Copy Markdown
Member

@feanil could you please take a look at the conflicts? Thanks!

feanil and others added 3 commits March 31, 2026 14:39
Remove Python 3.11 from CI matrix, tox envlist, publish workflow,
readthedocs config, mypy.ini, and setup.py classifiers.
Update coverage condition to use 3.12.
Part of openedx/public-engineering#499

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@feanil
feanil force-pushed the feanil/drop_python_3.11 branch from 40c20b9 to 63dd845 Compare April 2, 2026 14:00
@feanil
feanil merged commit dbdc557 into master Apr 2, 2026
6 of 7 checks passed
@feanil
feanil deleted the feanil/drop_python_3.11 branch April 2, 2026 18:54
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.

3 participants