Skip to content

Commit 6891216

Browse files
feanilclaude
andcommitted
chore: drop Python 3.11 support
Remove Python 3.11 from CI matrix, tox envlist, publish workflow, readthedocs config, setup.py classifiers, and python_requires. Part of openedx/public-engineering#499 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 3c68678 commit 6891216

5 files changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
os: [ubuntu-latest] # Add macos-latest later?
19-
python-version: ['3.11', '3.12']
19+
python-version: ['3.12']
2020
toxenv: ["django52", "package", "quality"]
2121
mysql-version: ["8"]
2222
services:

.github/workflows/pypi-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: setup python
1616
uses: actions/setup-python@v6
1717
with:
18-
python-version: 3.11
18+
python-version: 3.12
1919

2020
- name: Install pip
2121
run: pip install -r requirements/pip.txt

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ sphinx:
1010
configuration: docs/conf.py
1111

1212
python:
13-
version: 3.11
13+
version: 3.12
1414
install:
1515
- requirements: requirements/doc.txt

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def is_requirement(line):
7575
packages=find_packages("src"),
7676
include_package_data=True,
7777
install_requires=load_requirements('requirements/base.in'),
78-
python_requires=">=3.11",
78+
python_requires=">=3.12",
7979
license="AGPL 3.0",
8080
zip_safe=False,
8181
keywords='Python edx',
@@ -87,7 +87,6 @@ def is_requirement(line):
8787
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
8888
'Natural Language :: English',
8989
'Programming Language :: Python :: 3',
90-
'Programming Language :: Python :: 3.11',
9190
'Programming Language :: Python :: 3.12',
9291
],
9392
)

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{311,312}-django{52}, quality, docs, pii_check, lint-imports
2+
envlist = py312-django{52}, quality, docs, pii_check, lint-imports
33

44
[doc8]
55
; D001 = Line too long

0 commit comments

Comments
 (0)