Skip to content

Commit

Permalink
WIP: Add Django 4.2 support (#1044)
Browse files Browse the repository at this point in the history
Co-authored-by: Paolo Melchiorre <paolo@melchiorre.org>
  • Loading branch information
bluetech and pauloxnet committed Apr 5, 2023
1 parent d9b9356 commit a499110
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ jobs:
python: '3.10'
allow_failure: false

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

- name: py310-dj40-postgres-xdist-coverage
- name: py310-dj41-postgres-xdist-coverage
python: '3.10'
allow_failure: false

Expand All @@ -85,7 +85,7 @@ jobs:
python: '3.11'
allow_failure: false

- name: py310-dj40-mysql_innodb-coverage
- name: py310-dj42-mysql_innodb-coverage
python: '3.10'
allow_failure: false

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ 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.0, 4.1 and latest main branch (compatible at the time of
* Django: 3.2, 4.0, 4.1, 4.2 and latest main branch (compatible at the time of
each release)
* Python: CPython>=3.7 or PyPy 3
* pytest: >=5.4
Expand Down
2 changes: 1 addition & 1 deletion docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Pending
Improvements
^^^^^^^^^^^^

* Official Django 4.1 support.
* Official Django 4.1 & 4.2 support.

* Official Python 3.11 support.

Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ classifiers =
Framework :: Django :: 3.2
Framework :: Django :: 4.0
Framework :: Django :: 4.1
Framework :: Django :: 4.2
Intended Audience :: Developers
License :: OSI Approved :: BSD License
Operating System :: OS Independent
Expand Down
8 changes: 5 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
[tox]
envlist =
py310-dj{main,41,40,32}-postgres
py39-dj{main,41,40,32}-postgres
py38-dj{main,41,40,32}-postgres
py311-dj{main,42,41}-postgres
py310-dj{main,42,41,40,32}-postgres
py39-dj{main,42,41,40,32}-postgres
py38-dj{main,42,41,40,32}-postgres
py37-dj{32}-postgres
linting

[testenv]
extras = testing
deps =
djmain: https://github.com/django/django/archive/main.tar.gz
dj42: Django>=4.2,<4.3
dj41: Django>=4.1,<4.2
dj40: Django>=4.0,<4.1
dj32: Django>=3.2,<4.0
Expand Down

0 comments on commit a499110

Please sign in to comment.