Skip to content

Commit

Permalink
Add Django 5.0 support (#1087)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamchainz committed Nov 5, 2023
1 parent a703c8f commit 51b82ac
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ jobs:
python: '3.11'
allow_failure: false

- name: py311-dj50-postgres-xdist-coverage
python: '3.11'
allow_failure: false

- name: py311-dj42-postgres-xdist-coverage
python: '3.11'
allow_failure: false
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ pytest-django allows you to test your Django project/applications with the
<https://pytest-django.readthedocs.io/en/latest/contributing.html>`_
* Version compatibility:

* Django: 3.2, 4.1, 4.2 and latest main branch (compatible at the time of
each release)
* Django: 3.2, 4.1, 4.2, 5.0 and latest main branch (compatible at the time
of each release)
* Python: CPython>=3.8 or PyPy 3
* pytest: >=7.0

Expand Down
8 changes: 8 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
Changelog
=========

Pending
-------

Compatibility
^^^^^^^^^^^^^

* Official Django 5.0 support.

v4.6.0 (2023-10-30)
-------------------

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ classifiers = [
"Framework :: Django :: 3.2",
"Framework :: Django :: 4.1",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
Expand Down
5 changes: 3 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
envlist =
py311-dj{main,42,41}-postgres
py310-dj{main,42,41,32}-postgres
py311-dj{main,50,42,41}-postgres
py310-dj{main,50,42,41,32}-postgres
py39-dj{main,42,41,32}-postgres
py38-dj{main,42,41,32}-postgres
py37-dj{32}-postgres
Expand All @@ -11,6 +11,7 @@ envlist =
extras = testing
deps =
djmain: https://github.com/django/django/archive/main.tar.gz
dj50: Django>=5.0a1,<5.1
dj42: Django>=4.2,<4.3
dj41: Django>=4.1,<4.2
dj32: Django>=3.2,<4.0
Expand Down

0 comments on commit 51b82ac

Please sign in to comment.