Skip to content

chore: drop Python 3.11 support#268

Open
feanil wants to merge 6 commits intomasterfrom
feanil/drop_python_3.11
Open

chore: drop Python 3.11 support#268
feanil wants to merge 6 commits intomasterfrom
feanil/drop_python_3.11

Conversation

@feanil
Copy link
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
  • Upgrade typesense-python 1.x → 2.0 and update import path accordingly
  • Bump version to 0.4.0 (minor bump, covers breaking changes for 0.x per SemVer)

⚠️ Breaking: Typesense Server Version Requirement

typesense-python 2.0 requires Typesense Server >= v30.0 (previously >= v28.0).
If you are running an older Typesense server you must upgrade it before deploying
this version of openedx-forum.

See the typesense-python compatibility table for details.

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
  • Verify Typesense Server >= v30.0 is in use before deploying

feanil and others added 2 commits March 6, 2026 17:24
Remove Python 3.11 from CI matrix, tox envlist, publish workflow,
setup.py classifiers, and python_requires.
Part of openedx/public-engineering#499

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 fb697ed to fcc3544 Compare March 10, 2026 17:47
feanil and others added 3 commits March 12, 2026 09:31
typesense-python 2.0 removed the typesense.client module. Client is now
exported directly from the top-level typesense package.

Migration guide: https://github.com/typesense/typesense-python#compatibility

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This is a 0.x project so minor version bumps cover breaking changes
(per SemVer). Document both breaking changes in this release:
- Drop Python 3.11 support
- typesense-python 2.0 requires Typesense Server >= v30.0

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@feanil feanil marked this pull request as ready for review March 13, 2026 13:48
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