Skip to content

Commit 200db77

Browse files
feanilclaude
andcommitted
feat!: drop Django 4.2 support
Django 4.2 reached end-of-life in April 2024. Remove the django42 tox env and classifier; social-auth-app-django>=5.7 requires Django>=5.1 so Django 4.2 is no longer compatible with the latest dependencies. BREAKING CHANGE: Django 4.2 is no longer supported. Requires Django 5.2+. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 9f113e9 commit 200db77

4 files changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
matrix:
1616
os: [ubuntu-latest]
1717
python-version: ['3.12']
18-
toxenv: [quality, django42, django52, check_keywords]
18+
toxenv: [quality, django52, check_keywords]
1919

2020
steps:
2121
- uses: actions/checkout@v3

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ auth-backends |CI|_ |Codecov|_
88

99
This package contains custom authentication backends, views, and pipeline steps used by edX services for single sign-on.
1010

11-
This package is compatible with Python 3.12, Django 4.2 and Django 5.2
11+
This package is compatible with Python 3.12 and Django 5.2
1212

1313
We currently support OAuth 2.0 authentication. Support for OpenID Connect (OIDC) was removed as of version 3.0. Use version 2.x if you require OIDC and are not able to migrate to OAuth2.
1414

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ def get_version(*file_paths):
132132
'Programming Language :: Python :: 3',
133133
'Programming Language :: Python :: 3.12',
134134
'Framework :: Django',
135-
'Framework :: Django :: 4.2',
136135
'Framework :: Django :: 5.2',
137136
'Topic :: Internet',
138137
],

tox.ini

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
[tox]
2-
envlist = py{312}-django{42,52},quality
2+
envlist = py{312}-django{52},quality
33

44
[pycodestyle]
55
max-line-length = 120
66

77
[testenv]
8-
deps =
9-
django42: Django>=4.2,<4.3
8+
deps =
109
django52: Django>=5.2,<5.3
1110
-r{toxinidir}/requirements/test.txt
1211
commands =

0 commit comments

Comments
 (0)