Skip to content

Commit a499110

Browse files
bluetechpauloxnet
andauthored
WIP: Add Django 4.2 support (#1044)
Co-authored-by: Paolo Melchiorre <[email protected]>
1 parent d9b9356 commit a499110

File tree

5 files changed

+11
-8
lines changed

5 files changed

+11
-8
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@ jobs:
6969
python: '3.10'
7070
allow_failure: false
7171

72-
- name: py311-dj41-postgres-xdist-coverage
72+
- name: py311-dj42-postgres-xdist-coverage
7373
python: '3.11'
7474
allow_failure: false
7575

76-
- name: py310-dj40-postgres-xdist-coverage
76+
- name: py310-dj41-postgres-xdist-coverage
7777
python: '3.10'
7878
allow_failure: false
7979

@@ -85,7 +85,7 @@ jobs:
8585
python: '3.11'
8686
allow_failure: false
8787

88-
- name: py310-dj40-mysql_innodb-coverage
88+
- name: py310-dj42-mysql_innodb-coverage
8989
python: '3.10'
9090
allow_failure: false
9191

README.rst

Lines changed: 1 addition & 1 deletion
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: 3.2, 4.0, 4.1 and latest main branch (compatible at the time of
35+
* Django: 3.2, 4.0, 4.1, 4.2 and latest main branch (compatible at the time of
3636
each release)
3737
* Python: CPython>=3.7 or PyPy 3
3838
* pytest: >=5.4

docs/changelog.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Pending
77
Improvements
88
^^^^^^^^^^^^
99

10-
* Official Django 4.1 support.
10+
* Official Django 4.1 & 4.2 support.
1111

1212
* Official Python 3.11 support.
1313

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ classifiers =
1616
Framework :: Django :: 3.2
1717
Framework :: Django :: 4.0
1818
Framework :: Django :: 4.1
19+
Framework :: Django :: 4.2
1920
Intended Audience :: Developers
2021
License :: OSI Approved :: BSD License
2122
Operating System :: OS Independent

tox.ini

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
[tox]
22
envlist =
3-
py310-dj{main,41,40,32}-postgres
4-
py39-dj{main,41,40,32}-postgres
5-
py38-dj{main,41,40,32}-postgres
3+
py311-dj{main,42,41}-postgres
4+
py310-dj{main,42,41,40,32}-postgres
5+
py39-dj{main,42,41,40,32}-postgres
6+
py38-dj{main,42,41,40,32}-postgres
67
py37-dj{32}-postgres
78
linting
89

910
[testenv]
1011
extras = testing
1112
deps =
1213
djmain: https://github.com/django/django/archive/main.tar.gz
14+
dj42: Django>=4.2,<4.3
1315
dj41: Django>=4.1,<4.2
1416
dj40: Django>=4.0,<4.1
1517
dj32: Django>=3.2,<4.0

0 commit comments

Comments
 (0)