Skip to content

Commit 848f663

Browse files
feanilclaude
andauthored
chore: drop Python 3.11 support (#497)
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 Bump version to 0.37.0. Don't do a major version bump because this repo is currently still under development and are working towards a V1 that will be released soon. --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 3c68678 commit 848f663

File tree

14 files changed

+46
-54
lines changed

14 files changed

+46
-54
lines changed

.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

requirements/base.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.11
2+
# This file is autogenerated by pip-compile with Python 3.12
33
# by the following command:
44
#
55
# make upgrade
@@ -88,7 +88,7 @@ kombu==5.6.2
8888
# via celery
8989
packaging==26.0
9090
# via kombu
91-
pillow==12.1.0
91+
pillow==12.1.1
9292
# via edx-organizations
9393
prompt-toolkit==3.0.52
9494
# via click-repl
@@ -137,3 +137,6 @@ vine==5.1.0
137137
# kombu
138138
wcwidth==0.6.0
139139
# via prompt-toolkit
140+
141+
# The following packages are considered to be unsafe in a requirements file:
142+
# setuptools

requirements/ci.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.11
2+
# This file is autogenerated by pip-compile with Python 3.12
33
# by the following command:
44
#
55
# make upgrade
66
#
7-
cachetools==7.0.4
7+
cachetools==7.0.5
88
# via tox
99
colorama==0.4.6
1010
# via tox
1111
distlib==0.4.0
1212
# via virtualenv
13-
filelock==3.25.0
13+
filelock==3.25.1
1414
# via
1515
# python-discovery
1616
# tox
@@ -28,11 +28,11 @@ pluggy==1.6.0
2828
# via tox
2929
pyproject-api==1.10.0
3030
# via tox
31-
python-discovery==1.1.1
31+
python-discovery==1.1.3
3232
# via virtualenv
3333
tomli-w==1.2.0
3434
# via tox
35-
tox==4.49.0
35+
tox==4.49.1
3636
# via -r requirements/ci.in
37-
virtualenv==21.1.0
37+
virtualenv==21.2.0
3838
# via tox

requirements/dev.txt

Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.11
2+
# This file is autogenerated by pip-compile with Python 3.12
33
# by the following command:
44
#
55
# make upgrade
@@ -19,10 +19,6 @@ astroid==4.0.4
1919
# pylint-celery
2020
attrs==25.4.0
2121
# via -r requirements/quality.txt
22-
backports-tarfile==1.2.0
23-
# via
24-
# -r requirements/quality.txt
25-
# jaraco-context
2622
billiard==4.2.4
2723
# via
2824
# -r requirements/quality.txt
@@ -31,7 +27,7 @@ build==1.4.0
3127
# via
3228
# -r requirements/pip-tools.txt
3329
# pip-tools
34-
cachetools==7.0.4
30+
cachetools==7.0.5
3531
# via
3632
# -r requirements/ci.txt
3733
# tox
@@ -185,7 +181,7 @@ edx-drf-extensions==10.6.0
185181
# via
186182
# -r requirements/quality.txt
187183
# edx-organizations
188-
edx-i18n-tools==1.9.0
184+
edx-i18n-tools==2.0.0
189185
# via -r requirements/dev.in
190186
edx-lint==5.6.0
191187
# via -r requirements/quality.txt
@@ -196,7 +192,7 @@ edx-opaque-keys==3.1.0
196192
# edx-organizations
197193
edx-organizations==7.3.0
198194
# via -r requirements/quality.txt
199-
filelock==3.25.0
195+
filelock==3.25.1
200196
# via
201197
# -r requirements/ci.txt
202198
# python-discovery
@@ -218,10 +214,6 @@ idna==3.11
218214
# requests
219215
import-linter==2.11
220216
# via -r requirements/quality.txt
221-
importlib-metadata==8.7.1
222-
# via
223-
# -r requirements/quality.txt
224-
# keyring
225217
iniconfig==2.3.0
226218
# via
227219
# -r requirements/quality.txt
@@ -323,7 +315,7 @@ pathspec==1.0.4
323315
# via
324316
# -r requirements/quality.txt
325317
# mypy
326-
pillow==12.1.0
318+
pillow==12.1.1
327319
# via
328320
# -r requirements/quality.txt
329321
# edx-organizations
@@ -426,7 +418,7 @@ python-dateutil==2.9.0.post0
426418
# -r requirements/quality.txt
427419
# celery
428420
# freezegun
429-
python-discovery==1.1.1
421+
python-discovery==1.1.3
430422
# via
431423
# -r requirements/ci.txt
432424
# virtualenv
@@ -504,7 +496,7 @@ tomlkit==0.14.0
504496
# via
505497
# -r requirements/quality.txt
506498
# pylint
507-
tox==4.49.0
499+
tox==4.49.1
508500
# via -r requirements/ci.txt
509501
twine==6.2.0
510502
# via -r requirements/quality.txt
@@ -543,7 +535,7 @@ vine==5.1.0
543535
# amqp
544536
# celery
545537
# kombu
546-
virtualenv==21.1.0
538+
virtualenv==21.2.0
547539
# via
548540
# -r requirements/ci.txt
549541
# tox
@@ -555,10 +547,6 @@ wheel==0.46.3
555547
# via
556548
# -r requirements/pip-tools.txt
557549
# pip-tools
558-
zipp==3.23.0
559-
# via
560-
# -r requirements/quality.txt
561-
# importlib-metadata
562550

563551
# The following packages are considered to be unsafe in a requirements file:
564552
# pip

requirements/doc.txt

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.11
2+
# This file is autogenerated by pip-compile with Python 3.12
33
# by the following command:
44
#
55
# make upgrade
@@ -220,14 +220,13 @@ packaging==26.0
220220
# via
221221
# -r requirements/test.txt
222222
# kombu
223-
# pydata-sphinx-theme
224223
# pytest
225224
# sphinx
226225
pathspec==1.0.4
227226
# via
228227
# -r requirements/test.txt
229228
# mypy
230-
pillow==12.1.0
229+
pillow==12.1.1
231230
# via
232231
# -r requirements/test.txt
233232
# edx-organizations
@@ -250,7 +249,7 @@ pycparser==3.0
250249
# via
251250
# -r requirements/test.txt
252251
# cffi
253-
pydata-sphinx-theme==0.15.4
252+
pydata-sphinx-theme==0.16.1
254253
# via sphinx-book-theme
255254
pygments==2.19.2
256255
# via
@@ -326,13 +325,13 @@ snowballstemmer==3.0.1
326325
# via sphinx
327326
soupsieve==2.8.3
328327
# via beautifulsoup4
329-
sphinx==9.0.4
328+
sphinx==9.1.0
330329
# via
331330
# -r requirements/doc.in
332331
# pydata-sphinx-theme
333332
# sphinx-book-theme
334333
# sphinxcontrib-django
335-
sphinx-book-theme==1.1.4
334+
sphinx-book-theme==1.2.0
336335
# via -r requirements/doc.in
337336
sphinxcontrib-applehelp==2.0.0
338337
# via sphinx
@@ -405,3 +404,6 @@ wcwidth==0.6.0
405404
# via
406405
# -r requirements/test.txt
407406
# prompt-toolkit
407+
408+
# The following packages are considered to be unsafe in a requirements file:
409+
# setuptools

requirements/pip-tools.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.11
2+
# This file is autogenerated by pip-compile with Python 3.12
33
# by the following command:
44
#
55
# make upgrade

requirements/pip.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.11
2+
# This file is autogenerated by pip-compile with Python 3.12
33
# by the following command:
44
#
55
# make upgrade
@@ -12,5 +12,5 @@ wheel==0.46.3
1212
# The following packages are considered to be unsafe in a requirements file:
1313
pip==26.0.1
1414
# via -r requirements/pip.in
15-
setuptools==82.0.0
15+
setuptools==82.0.1
1616
# via -r requirements/pip.in

requirements/quality.txt

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.11
2+
# This file is autogenerated by pip-compile with Python 3.12
33
# by the following command:
44
#
55
# make upgrade
@@ -18,8 +18,6 @@ astroid==4.0.4
1818
# pylint-celery
1919
attrs==25.4.0
2020
# via -r requirements/test.txt
21-
backports-tarfile==1.2.0
22-
# via jaraco-context
2321
billiard==4.2.4
2422
# via
2523
# -r requirements/test.txt
@@ -174,8 +172,6 @@ idna==3.11
174172
# requests
175173
import-linter==2.11
176174
# via -r requirements/test.txt
177-
importlib-metadata==8.7.1
178-
# via keyring
179175
iniconfig==2.3.0
180176
# via
181177
# -r requirements/test.txt
@@ -248,7 +244,7 @@ pathspec==1.0.4
248244
# via
249245
# -r requirements/test.txt
250246
# mypy
251-
pillow==12.1.0
247+
pillow==12.1.1
252248
# via
253249
# -r requirements/test.txt
254250
# edx-organizations
@@ -422,5 +418,6 @@ wcwidth==0.6.0
422418
# via
423419
# -r requirements/test.txt
424420
# prompt-toolkit
425-
zipp==3.23.0
426-
# via importlib-metadata
421+
422+
# The following packages are considered to be unsafe in a requirements file:
423+
# setuptools

0 commit comments

Comments
 (0)