Skip to content

Commit 52b2205

Browse files
committed
Drop support for EOL Django 3.2, 4.1, add support for 5.1
1 parent c66f9d3 commit 52b2205

File tree

4 files changed

+29
-29
lines changed

4 files changed

+29
-29
lines changed

.github/workflows/main.yml

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,11 @@ jobs:
6767
python: '3.12'
6868
allow_failure: false
6969

70-
- name: py312-dj50-postgres-xdist-coverage
70+
- name: py312-dj51-postgres-xdist-coverage
71+
python: '3.12'
72+
allow_failure: false
73+
74+
- name: py312-dj42-postgres-xdist-coverage
7175
python: '3.12'
7276
allow_failure: false
7377

@@ -79,48 +83,48 @@ jobs:
7983
python: '3.11'
8084
allow_failure: false
8185

82-
- name: py310-dj41-postgres-xdist-coverage
86+
- name: py310-dj51-postgres-xdist-coverage
8387
python: '3.10'
8488
allow_failure: false
8589

86-
- name: py310-dj32-postgres-xdist-coverage
90+
- name: py310-dj42-postgres-xdist-coverage
8791
python: '3.10'
8892
allow_failure: false
8993

90-
- name: py311-dj41-mysql_innodb-coverage
94+
- name: py311-dj51-mysql_innodb-coverage
9195
python: '3.11'
9296
allow_failure: false
9397

9498
- name: py310-dj42-mysql_innodb-coverage
9599
python: '3.10'
96100
allow_failure: false
97101

98-
- name: py39-dj32-mysql_innodb-xdist-coverage
102+
- name: py39-dj42-mysql_innodb-xdist-coverage
99103
python: '3.9'
100104
allow_failure: false
101105

102-
- name: py38-dj41-sqlite-xdist-coverage
103-
python: '3.8'
106+
- name: py312-dj51-sqlite-xdist-coverage
107+
python: '3.12'
104108
allow_failure: false
105109

106-
- name: py38-dj32-sqlite-xdist-coverage
110+
- name: py38-dj42-sqlite-xdist-coverage
107111
python: '3.8'
108112
allow_failure: false
109113

110-
- name: py310-djmain-sqlite-coverage
111-
python: '3.10'
114+
- name: py311-djmain-sqlite-coverage
115+
python: '3.11'
112116
allow_failure: true
113117

114-
- name: py38-dj32-mysql_myisam-coverage
115-
python: '3.8'
118+
- name: py311-dj42-mysql_myisam-coverage
119+
python: '3.11'
116120
allow_failure: false
117121

118122
# Explicitly test min pytest.
119-
- name: py38-dj32-sqlite-pytestmin-coverage
123+
- name: py38-dj42-sqlite-pytestmin-coverage
120124
python: '3.8'
121125
allow_failure: false
122126

123127
# pypy3: not included with coverage reports (much slower then).
124-
- name: pypy3-dj32-postgres
128+
- name: pypy3-dj42-postgres
125129
python: 'pypy3.9'
126130
allow_failure: false

README.rst

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

40-
For compatibility with older versions, use the pytest-django 3.*.* series.
40+
For compatibility with older versions, use previous pytest-django releases.
4141

4242
* Licence: BSD
43-
* Project maintainers: Andreas Pelme, Floris Bruynooghe and Daniel Hahler
4443
* `All contributors <https://github.com/pytest-dev/pytest-django/contributors>`_
4544
* GitHub repository: https://github.com/pytest-dev/pytest-django
46-
* `Issue tracker <http://github.com/pytest-dev/pytest-django/issues>`_
45+
* `Issue tracker <https://github.com/pytest-dev/pytest-django/issues>`_
4746
* `Python Package Index (PyPI) <https://pypi.python.org/pypi/pytest-django/>`_
4847

4948
Install pytest-django

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,9 @@ license = {file = "LICENSE"}
2121
classifiers = [
2222
"Development Status :: 5 - Production/Stable",
2323
"Framework :: Django",
24-
"Framework :: Django :: 3.2",
25-
"Framework :: Django :: 4.1",
2624
"Framework :: Django :: 4.2",
2725
"Framework :: Django :: 5.0",
26+
"Framework :: Django :: 5.1",
2827
"Intended Audience :: Developers",
2928
"License :: OSI Approved :: BSD License",
3029
"Operating System :: OS Independent",

tox.ini

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
11
[tox]
22
envlist =
3-
py312-dj{main,50}-postgres
4-
py311-dj{main,50,42,41}-postgres
5-
py310-dj{main,50,42,41,32}-postgres
6-
py39-dj{main,42,41,32}-postgres
7-
py38-dj{main,42,41,32}-postgres
8-
py37-dj{32}-postgres
3+
py312-dj{main,51,50,42}-postgres
4+
py311-dj{main,51,50,42}-postgres
5+
py310-dj{main,51,50,42}-postgres
6+
py39-dj42-postgres
7+
py38-dj42-postgres
98
linting
109

1110
[testenv]
1211
extras = testing
1312
deps =
1413
djmain: https://github.com/django/django/archive/main.tar.gz
15-
dj50: Django>=5.0a1,<5.1
14+
dj51: Django>=5.1,<5.2
15+
dj50: Django>=5.0,<5.1
1616
dj42: Django>=4.2,<4.3
17-
dj41: Django>=4.1,<4.2
18-
dj32: Django>=3.2,<4.0
1917

2018
mysql_myisam: mysqlclient==2.1.0
2119
mysql_innodb: mysqlclient==2.1.0

0 commit comments

Comments
 (0)