Skip to content

Commit fdaddc5

Browse files
committed
Drop support for EOL Django 3.2, 4.1, add support for 5.1
1 parent 30602a2 commit fdaddc5

4 files changed

Lines changed: 28 additions & 28 deletions

File tree

.github/workflows/main.yml

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

72-
- name: py312-dj50-postgres-xdist-coverage
72+
- name: py312-dj51-postgres-xdist-coverage
73+
python: '3.12'
74+
allow_failure: false
75+
76+
- name: py312-dj42-postgres-xdist-coverage
7377
python: '3.12'
7478
allow_failure: false
7579

@@ -81,49 +85,49 @@ jobs:
8185
python: '3.11'
8286
allow_failure: false
8387

84-
- name: py310-dj41-postgres-xdist-coverage
88+
- name: py310-dj51-postgres-xdist-coverage
8589
python: '3.10'
8690
allow_failure: false
8791

88-
- name: py310-dj32-postgres-xdist-coverage
92+
- name: py310-dj42-postgres-xdist-coverage
8993
python: '3.10'
9094
allow_failure: false
9195

92-
- name: py311-dj41-mysql_innodb-coverage
96+
- name: py311-dj51-mysql_innodb-coverage
9397
python: '3.11'
9498
allow_failure: false
9599

96100
- name: py310-dj42-mysql_innodb-coverage
97101
python: '3.10'
98102
allow_failure: false
99103

100-
- name: py39-dj32-mysql_innodb-xdist-coverage
104+
- name: py39-dj42-mysql_innodb-xdist-coverage
101105
python: '3.9'
102106
allow_failure: false
103107

104-
- name: py38-dj41-sqlite-xdist-coverage
108+
- name: py38-dj51-sqlite-xdist-coverage
105109
python: '3.8'
106110
allow_failure: false
107111

108-
- name: py38-dj32-sqlite-xdist-coverage
112+
- name: py38-dj42-sqlite-xdist-coverage
109113
python: '3.8'
110114
allow_failure: false
111115

112-
- name: py310-djmain-sqlite-coverage
113-
python: '3.10'
116+
- name: py311-djmain-sqlite-coverage
117+
python: '3.11'
114118
allow_failure: true
115119

116-
- name: py38-dj32-mysql_myisam-coverage
117-
python: '3.8'
120+
- name: py311-dj42-mysql_myisam-coverage
121+
python: '3.11'
118122
allow_failure: false
119123

120124
# Explicitly test min pytest.
121-
- name: py38-dj32-sqlite-pytestmin-coverage
125+
- name: py38-dj42-sqlite-pytestmin-coverage
122126
python: '3.8'
123127
allow_failure: false
124128

125129
# pypy3: not included with coverage reports (much slower then).
126-
- name: pypy3-dj32-postgres
130+
- name: pypy3-dj42-postgres
127131
python: 'pypy3.9'
128132
allow_failure: false
129133

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)