Skip to content

Commit fba5153

Browse files
hramezanibluetech
authored andcommitted
Drop Django 2.2 support
1 parent 1ad013e commit fba5153

File tree

4 files changed

+6
-21
lines changed

4 files changed

+6
-21
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,6 @@ jobs:
8484
python: 3.9
8585
allow_failure: false
8686

87-
- name: py36-dj22-sqlite-xdist-coverage
88-
python: 3.6
89-
allow_failure: false
90-
91-
- name: py37-dj22-sqlite-xdist-coverage
92-
python: 3.7
93-
allow_failure: false
94-
9587
- name: py38-dj32-sqlite-xdist-coverage
9688
python: 3.8
9789
allow_failure: false
@@ -104,17 +96,12 @@ jobs:
10496
python: 3.9
10597
allow_failure: true
10698

107-
# Explicitly test (older) pytest 5.4.
108-
- name: py36-dj22-postgres-psycopg28-pytest54-coverage
109-
python: 3.6
110-
allow_failure: false
111-
11299
- name: py36-dj32-mysql_myisam-coverage
113100
python: 3.6
114101
allow_failure: false
115102

116103
# pypy3: not included with coverage reports (much slower then).
117-
- name: pypy3-dj22-postgres
104+
- name: pypy3-dj32-postgres
118105
python: pypy3
119106
allow_failure: false
120107

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: 2.2, 3.2, 4.0 and latest main branch (compatible at the time of
35+
* Django: 3.2, 4.0 and latest main branch (compatible at the time of
3636
each release)
3737
* Python: CPython>=3.6 or PyPy 3
3838
* pytest: >=5.4

setup.cfg

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ license_file = LICENSE
1313
classifiers =
1414
Development Status :: 5 - Production/Stable
1515
Framework :: Django
16-
Framework :: Django :: 2.2
1716
Framework :: Django :: 3.2
1817
Framework :: Django :: 4.0
1918
Intended Audience :: Developers

tox.ini

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[tox]
22
envlist =
33
py310-dj{main,40,32}-postgres
4-
py39-dj{main,40,32,22}-postgres
5-
py38-dj{main,40,32,22}-postgres
6-
py37-dj{32,22}-postgres
7-
py36-dj{32,22}-postgres
4+
py39-dj{main,40,32}-postgres
5+
py38-dj{main,40,32}-postgres
6+
py37-dj{32}-postgres
7+
py36-dj{32}-postgres
88
linting
99

1010
[testenv]
@@ -13,7 +13,6 @@ deps =
1313
djmain: https://github.com/django/django/archive/main.tar.gz
1414
dj40: Django>=4.0,<4.1
1515
dj32: Django>=3.2,<4.0
16-
dj22: Django>=2.2,<2.3
1716

1817
mysql_myisam: mysqlclient==2.1.0
1918
mysql_innodb: mysqlclient==2.1.0

0 commit comments

Comments
 (0)