Skip to content

chore: drop Python 3.11 support#2561

Merged
feanil merged 3 commits intomasterfrom
feanil/drop_python_3.11
Apr 7, 2026
Merged

chore: drop Python 3.11 support#2561
feanil merged 3 commits intomasterfrom
feanil/drop_python_3.11

Conversation

@feanil
Copy link
Copy Markdown
Contributor

@feanil feanil commented Mar 6, 2026

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 7.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

@feanil feanil marked this pull request as ready for review March 8, 2026 15:18
@feanil feanil requested a review from pwnage101 March 9, 2026 11:52
@feanil feanil force-pushed the feanil/drop_python_3.11 branch 2 times, most recently from e4ff893 to 2ede88e Compare March 10, 2026 18:09
@feanil feanil force-pushed the feanil/drop_python_3.11 branch from 2ede88e to a8e7f12 Compare April 2, 2026 18:48
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.79%. Comparing base (984cf32) to head (6a20a0a).
⚠️ Report is 4 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2561   +/-   ##
=======================================
  Coverage   85.79%   85.79%           
=======================================
  Files         247      247           
  Lines       16434    16434           
  Branches     1629     1629           
=======================================
  Hits        14100    14100           
  Misses       1999     1999           
  Partials      335      335           
Flag Coverage Δ
unittests 85.79% <ø> (ø)

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

☔ View full report in Codecov by Sentry.
📢 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pwnage101
Copy link
Copy Markdown
Contributor

Almost there, looks to be just missing a CHANGELOG.rst entry

Copy link
Copy Markdown
Contributor

@pwnage101 pwnage101 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved to unblock

@feanil feanil force-pushed the feanil/drop_python_3.11 branch from a8e7f12 to e26debc Compare April 7, 2026 14:16
feanil and others added 3 commits April 7, 2026 10:16
Removes Python 3.11 from CI matrix, migration check workflows, publish
workflow, tox envlist, and setup.py classifiers.

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 e26debc to 6a20a0a Compare April 7, 2026 14:17
@feanil feanil merged commit b9cb840 into master Apr 7, 2026
11 checks passed
@feanil feanil deleted the feanil/drop_python_3.11 branch April 7, 2026 14:37
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