Skip to content

Commit 51b82ac

Browse files
authored
Add Django 5.0 support (#1087)
1 parent a703c8f commit 51b82ac

File tree

5 files changed

+18
-4
lines changed

5 files changed

+18
-4
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ jobs:
6969
python: '3.11'
7070
allow_failure: false
7171

72+
- name: py311-dj50-postgres-xdist-coverage
73+
python: '3.11'
74+
allow_failure: false
75+
7276
- name: py311-dj42-postgres-xdist-coverage
7377
python: '3.11'
7478
allow_failure: false

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ 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: 3.2, 4.1, 4.2 and latest main branch (compatible at the time of
36-
each release)
35+
* Django: 3.2, 4.1, 4.2, 5.0 and latest main branch (compatible at the time
36+
of each release)
3737
* Python: CPython>=3.8 or PyPy 3
3838
* pytest: >=7.0
3939

docs/changelog.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
Changelog
22
=========
33

4+
Pending
5+
-------
6+
7+
Compatibility
8+
^^^^^^^^^^^^^
9+
10+
* Official Django 5.0 support.
11+
412
v4.6.0 (2023-10-30)
513
-------------------
614

pyproject.toml

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

tox.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
envlist =
3-
py311-dj{main,42,41}-postgres
4-
py310-dj{main,42,41,32}-postgres
3+
py311-dj{main,50,42,41}-postgres
4+
py310-dj{main,50,42,41,32}-postgres
55
py39-dj{main,42,41,32}-postgres
66
py38-dj{main,42,41,32}-postgres
77
py37-dj{32}-postgres
@@ -11,6 +11,7 @@ envlist =
1111
extras = testing
1212
deps =
1313
djmain: https://github.com/django/django/archive/main.tar.gz
14+
dj50: Django>=5.0a1,<5.1
1415
dj42: Django>=4.2,<4.3
1516
dj41: Django>=4.1,<4.2
1617
dj32: Django>=3.2,<4.0

0 commit comments

Comments
 (0)