Skip to content

chore: drop Python 3.11 support - #550

Merged
bmtcril merged 1 commit into
mainfrom
feanil/drop_python_3.11
Mar 19, 2026
Merged

bmtcril merged 1 commit into
mainfrom
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 11.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 self-assigned this Mar 9, 2026
@feanil
feanil force-pushed the feanil/drop_python_3.11 branch 2 times, most recently from 6b738b6 to b31dfdc Compare March 10, 2026 18:12
@feanil
feanil requested a review from mariajgrimaldi March 13, 2026 14:41
@feanil

feanil commented Mar 13, 2026

Copy link
Copy Markdown
Contributor Author

If this looks good, I can update the required tests on the branch protection when I merge it.

@felipemontoya felipemontoya left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Since I was reviewing this for filters I came by to check. The PR looks good to me. CI passing on 3.12, major bump and it will not impact the platform since 3.11 is already dropped.

@felipemontoya

Copy link
Copy Markdown
Member

@feanil are the 3 missing checks related to the required tests on the branch protection comment? I can't see where this is coming from.

@mariajgrimaldi
mariajgrimaldi enabled auto-merge (squash) March 19, 2026 13:32
@mariajgrimaldi
mariajgrimaldi disabled auto-merge March 19, 2026 13:36
@mariajgrimaldi

mariajgrimaldi commented Mar 19, 2026 •

Copy link
Copy Markdown
Member

There are some pending tests for Python 3.11, maybe they'd be resolved by force pushing or rebasing? Closing and opening the PR didn't work. @feanil @felipemontoya

I also squashed and force pushed, let's see if it works

Remove Python 3.11 from CI matrix, tox envlist, setup.py classifiers,
python_requires, and readthedocs configuration.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@mariajgrimaldi
mariajgrimaldi force-pushed the feanil/drop_python_3.11 branch from b31dfdc to 73409ba Compare March 19, 2026 13:48
@bmtcril

bmtcril commented Mar 19, 2026

Copy link
Copy Markdown
Contributor

This is happening because those 3.11 tests are still marked as required in the repo settings. @feanil had said above that he'd remove them if you approved the PR but since I'm here and it's approved I'll do that and let this merge.

@bmtcril
bmtcril merged commit 4c512e6 into main Mar 19, 2026
7 checks passed
@bmtcril
bmtcril deleted the feanil/drop_python_3.11 branch March 19, 2026 14:01
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.

4 participants