Skip to content

Commit 22301d7

Browse files
feanilclaude
andcommitted
chore: drop Python 3.11 support
Remove Python 3.11 from the CI matrix, tox envlist, pypi-publish workflow, and setup.py classifiers. Python 3.12 remains. Part of the Open edX initiative to drop Python 3.11 support: openedx/public-engineering#499 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 3d77262 commit 22301d7

4 files changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
os: [ubuntu-latest]
17-
python-version: ["3.11", "3.12"]
17+
python-version: ["3.12"]
1818
toxenv: [django52-drflatest, quality]
1919

2020
steps:
@@ -38,7 +38,7 @@ jobs:
3838
run: tox
3939

4040
- name: Run Coverage
41-
if: matrix.python-version == '3.12' && matrix.toxenv=='django42-drflatest'
41+
if: matrix.python-version == '3.12' && matrix.toxenv=='django52-drflatest'
4242
uses: codecov/codecov-action@v4
4343
with:
4444
token: ${{ secrets.CODECOV_TOKEN }}

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

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,6 @@ def is_requirement(line):
177177
"License :: OSI Approved :: Apache Software License",
178178
"Natural Language :: English",
179179
"Programming Language :: Python :: 3",
180-
"Programming Language :: Python :: 3.11",
181180
"Programming Language :: Python :: 3.12",
182181
],
183182
)

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist =
3-
py{311,312}-django{52}-drf{latest}
3+
py{312}-django{52}-drf{latest}
44
quality
55

66
[pytest]

0 commit comments

Comments
 (0)