Skip to content

Commit e362f4c

Browse files
authored
Add support for Django 5.2 (#1179)
1 parent d8dc3d9 commit e362f4c

File tree

5 files changed

+28
-5
lines changed

5 files changed

+28
-5
lines changed

.github/workflows/main.yml

+12
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ jobs:
7171
python: '3.13'
7272
allow_failure: false
7373

74+
- name: py313-dj52-postgres-xdist-coverage
75+
python: '3.13'
76+
allow_failure: false
77+
7478
- name: py313-dj51-postgres-xdist-coverage
7579
python: '3.13'
7680
allow_failure: false
@@ -87,6 +91,10 @@ jobs:
8791
python: '3.11'
8892
allow_failure: false
8993

94+
- name: py310-dj52-postgres-xdist-coverage
95+
python: '3.10'
96+
allow_failure: false
97+
9098
- name: py310-dj51-postgres-xdist-coverage
9199
python: '3.10'
92100
allow_failure: false
@@ -111,6 +119,10 @@ jobs:
111119
python: '3.13'
112120
allow_failure: true
113121

122+
- name: py313-dj52-sqlite-coverage
123+
python: '3.13'
124+
allow_failure: true
125+
114126
- name: py312-dj51-sqlite-xdist-coverage
115127
python: '3.12'
116128
allow_failure: false

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pytest-django allows you to test your Django project/applications with the
3232
<https://pytest-django.readthedocs.io/en/latest/contributing.html>`_
3333
* Version compatibility:
3434

35-
* Django: 4.2, 5.0, 5.1 and latest main branch (compatible at the time
35+
* Django: 4.2, 5.0, 5.1, 5.2 and latest main branch (compatible at the time
3636
of each release)
3737
* Python: CPython>=3.8 or PyPy 3
3838
* pytest: >=7.0

docs/changelog.rst

+9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
Changelog
22
=========
33

4+
v4.11.0 (Not released yet)
5+
--------------------------
6+
7+
Compatibility
8+
^^^^^^^^^^^^^
9+
10+
* Added official support for Django 5.2.
11+
12+
413
v4.10.0 (2025-02-10)
514
--------------------
615

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ classifiers = [
2424
"Framework :: Django :: 4.2",
2525
"Framework :: Django :: 5.0",
2626
"Framework :: Django :: 5.1",
27+
"Framework :: Django :: 5.2",
2728
"Intended Audience :: Developers",
2829
"License :: OSI Approved :: BSD License",
2930
"Operating System :: OS Independent",

tox.ini

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[tox]
22
envlist =
3-
py313-dj{main,51}-postgres
4-
py312-dj{main,51,50,42}-postgres
5-
py311-dj{main,51,50,42}-postgres
6-
py310-dj{main,51,50,42}-postgres
3+
py313-dj{main,52,51}-postgres
4+
py312-dj{main,52,51,50,42}-postgres
5+
py311-dj{main,52,51,50,42}-postgres
6+
py310-dj{main,52,51,50,42}-postgres
77
py39-dj42-postgres
88
py38-dj42-postgres
99
linting
@@ -12,6 +12,7 @@ envlist =
1212
extras = testing
1313
deps =
1414
djmain: https://github.com/django/django/archive/main.tar.gz
15+
dj52: Django>=5.2a1,<6.0
1516
dj51: Django>=5.1,<5.2
1617
dj50: Django>=5.0,<5.1
1718
dj42: Django>=4.2,<4.3

0 commit comments

Comments
 (0)