Skip to content

chore: drop Python 3.11 support#450

Merged
feanil merged 3 commits into
masterfrom
feanil/drop_python_3.11
Mar 13, 2026
Merged

chore: drop Python 3.11 support#450
feanil merged 3 commits into
masterfrom
feanil/drop_python_3.11

Conversation

@feanil

@feanil feanil commented Mar 6, 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 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.90%. Comparing base (5a89bc6) to head (907609f).
⚠️ Report is 8 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #450   +/-   ##
=======================================
  Coverage   95.90%   95.90%           
=======================================
  Files          18       18           
  Lines         488      488           
  Branches       55       55           
=======================================
  Hits          468      468           
  Misses         19       19           
  Partials        1        1           
Flag Coverage Δ
unittests 95.90% <100.00%> (ø)

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 requested a review from UsamaSadiq March 9, 2026 11:52
@feanil feanil force-pushed the feanil/drop_python_3.11 branch 2 times, most recently from 7a63bf2 to 14b082d Compare March 10, 2026 18:56
feanil and others added 3 commits March 10, 2026 15:15
Removes Python 3.11 from CI matrix, pypi-publish workflow, tox envlist,
and setup.py classifiers. Updates coverage step condition to 3.12.

Part of openedx/public-engineering#499
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@feanil feanil force-pushed the feanil/drop_python_3.11 branch from 14b082d to 907609f Compare March 10, 2026 19:15
@feanil feanil marked this pull request as ready for review March 10, 2026 19:22
@feanil

feanil commented Mar 11, 2026

Copy link
Copy Markdown
Contributor Author

@UsamaSadiq I think this is good to merge, can you merged and release it if you don't have any objections.

@UsamaSadiq

Copy link
Copy Markdown
Member

@UsamaSadiq I think this is good to merge, can you merged and release it if you don't have any objections.

Sure, on it.

@feanil feanil merged commit 44439ad into master Mar 13, 2026
9 checks passed
@feanil feanil deleted the feanil/drop_python_3.11 branch March 13, 2026 13:56
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