Skip to content

Commit

Permalink
Drop Django 2.2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
hramezani authored and bluetech committed Apr 26, 2022
1 parent 1ad013e commit fba5153
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 21 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,6 @@ jobs:
python: 3.9
allow_failure: false

- name: py36-dj22-sqlite-xdist-coverage
python: 3.6
allow_failure: false

- name: py37-dj22-sqlite-xdist-coverage
python: 3.7
allow_failure: false

- name: py38-dj32-sqlite-xdist-coverage
python: 3.8
allow_failure: false
Expand All @@ -104,17 +96,12 @@ jobs:
python: 3.9
allow_failure: true

# Explicitly test (older) pytest 5.4.
- name: py36-dj22-postgres-psycopg28-pytest54-coverage
python: 3.6
allow_failure: false

- name: py36-dj32-mysql_myisam-coverage
python: 3.6
allow_failure: false

# pypy3: not included with coverage reports (much slower then).
- name: pypy3-dj22-postgres
- name: pypy3-dj32-postgres
python: pypy3
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: 2.2, 3.2, 4.0 and latest main branch (compatible at the time of
* Django: 3.2, 4.0 and latest main branch (compatible at the time of
each release)
* Python: CPython>=3.6 or PyPy 3
* pytest: >=5.4
Expand Down
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ license_file = LICENSE
classifiers =
Development Status :: 5 - Production/Stable
Framework :: Django
Framework :: Django :: 2.2
Framework :: Django :: 3.2
Framework :: Django :: 4.0
Intended Audience :: Developers
Expand Down
9 changes: 4 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[tox]
envlist =
py310-dj{main,40,32}-postgres
py39-dj{main,40,32,22}-postgres
py38-dj{main,40,32,22}-postgres
py37-dj{32,22}-postgres
py36-dj{32,22}-postgres
py39-dj{main,40,32}-postgres
py38-dj{main,40,32}-postgres
py37-dj{32}-postgres
py36-dj{32}-postgres
linting

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

mysql_myisam: mysqlclient==2.1.0
mysql_innodb: mysqlclient==2.1.0
Expand Down

0 comments on commit fba5153

Please sign in to comment.