Skip to content

Commit 8d69847

Browse files
Updated test matrix to test against Django 5.2 explicitly (#1441)
* Updated test matrix to test against Django 5.2 explicitly * Apply suggestions from code review Co-authored-by: Anders <[email protected]> * Some extra changes for supporting Django 5.2 --------- Co-authored-by: Anders <[email protected]>
1 parent 5d03b6c commit 8d69847

File tree

6 files changed

+20
-5
lines changed

6 files changed

+20
-5
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,22 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
15-
django-version: ['4.2', '5.0', '5.1', 'main']
15+
django-version: ['4.2', '5.0', '5.1', '5.2', 'main']
1616

1717
exclude:
18-
# Exclude py3.9 for Django main and 5+
18+
# Exclude py3.9 for Django >= 5.0,
19+
# and py3.10 and py3.11 for Django > 5.2
1920
- python-version: '3.9'
2021
django-version: '5.0'
2122
- python-version: '3.9'
2223
django-version: '5.1'
2324
- python-version: '3.9'
25+
django-version: '5.2'
26+
- python-version: '3.9'
27+
django-version: 'main'
28+
- python-version: '3.10'
29+
django-version: 'main'
30+
- python-version: '3.11'
2431
django-version: 'main'
2532

2633
services:

CHANGES.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Unreleased
1515
- Added pagination to ``SimpleHistoryAdmin`` (gh-1277)
1616
- Fixed issue with history button not working when viewing historical entries in the
1717
admin (gh-527)
18+
- Added support for Django 5.2 (gh-1441)
1819

1920
3.7.0 (2024-05-29)
2021
------------------

README.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ This app supports the following combinations of Django and Python:
4848
4.2 3.9, 3.10, 3.11, 3.12, 3.13
4949
5.0 3.10, 3.11, 3.12, 3.13
5050
5.1 3.10, 3.11, 3.12, 3.13
51-
main 3.10, 3.11, 3.12, 3.13
51+
5.2 3.10, 3.11, 3.12, 3.13
52+
main 3.12, 3.13
5253
========== ========================
5354

5455
Getting Help

docs/index.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ This app supports the following combinations of Django and Python:
4444
4.2 3.9, 3.10, 3.11, 3.12, 3.13
4545
5.0 3.10, 3.11, 3.12, 3.13
4646
5.1 3.10, 3.11, 3.12, 3.13
47-
main 3.10, 3.11, 3.12, 3.13
47+
5.2 3.10, 3.11, 3.12, 3.13
48+
main 3.12, 3.13
4849
========== =======================
4950

5051
Contribute

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ classifiers = [
2222
"Framework :: Django",
2323
"Framework :: Django :: 4.2",
2424
"Framework :: Django :: 5.0",
25+
"Framework :: Django :: 5.1",
26+
"Framework :: Django :: 5.2",
2527
"Intended Audience :: Developers",
2628
"License :: OSI Approved :: BSD License",
2729
"Programming Language :: Python",

tox.ini

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[tox]
22
envlist =
33
py{39,310,311,312,313}-dj42-{sqlite3,postgres,mysql,mariadb},
4-
py{310,311,312,313}-dj{50,51,main}-{sqlite3,postgres,mysql,mariadb},
4+
py{310,311,312,313}-dj{50,51,52}-{sqlite3,postgres,mysql,mariadb},
5+
py{312,313}-dj{main}-{sqlite3,postgres,mysql,mariadb},
56
docs,
67
lint
78

@@ -18,6 +19,7 @@ DJANGO =
1819
4.2: dj42
1920
5.0: dj50
2021
5.1: dj51
22+
5.2: dj52
2123
main: djmain
2224

2325
[flake8]
@@ -32,6 +34,7 @@ deps =
3234
dj42: Django>=4.2,<4.3
3335
dj50: Django>=5.0,<5.1
3436
dj51: Django>=5.1,<5.2
37+
dj52: Django>=5.2a1,<5.3 # Use a1 to allow testing of the release candidates
3538
djmain: https://github.com/django/django/tarball/main
3639
postgres: -rrequirements/postgres.txt
3740
mysql: -rrequirements/mysql.txt

0 commit comments

Comments
 (0)