Skip to content

Commit 2854c3c

Browse files
feat!: drop support for Django 4.2 (#485)
1 parent 235a456 commit 2854c3c

3 files changed

Lines changed: 3 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,7 @@ jobs:
1717
matrix:
1818
os: [ubuntu-latest] # Add macos-latest later?
1919
python-version: ['3.11', '3.12']
20-
toxenv: ["django42", "django52", "package", "quality"]
21-
# We're only testing against MySQL 8 right now because 5.7 is
22-
# incompatible with Djagno 4.2. We'd have to make the tox.ini file more
23-
# complicated than it's worth given the short expected shelf-life of
24-
# MySQL 5.7 in our stack.
20+
toxenv: ["django52", "package", "quality"]
2521
mysql-version: ["8"]
2622
services:
2723
mysql:

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ def is_requirement(line):
8282
classifiers=[
8383
'Development Status :: 3 - Alpha',
8484
'Framework :: Django',
85-
'Framework :: Django :: 4.2',
8685
'Framework :: Django :: 5.2',
8786
'Intended Audience :: Developers',
8887
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',

tox.ini

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

44
[doc8]
55
; D001 = Line too long
@@ -38,11 +38,10 @@ norecursedirs = .* docs requirements site-packages
3838
usedevelop = True # installs -e .
3939
deps =
4040
setuptools
41-
django42: Django>=4.2,<5.0
4241
django52: Django>=5.2,<6.0
4342
-r{toxinidir}/requirements/test.txt
4443
setenv =
45-
# Note that the django32/django42 targets use MySQL, but running pytest by
44+
# Note that the django* targets use MySQL, but running pytest by
4645
# itself (without tox) will run tests in SQLite for developer convenience.
4746
DJANGO_SETTINGS_MODULE = mysql_test_settings
4847
commands =

0 commit comments

Comments
 (0)