Skip to content

Commit 398420a

Browse files
committed
Drop support for Python 3.6
1 parent 42b7db2 commit 398420a

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ jobs:
108108
python: '3.10'
109109
allow_failure: true
110110

111-
- name: py36-dj32-mysql_myisam-coverage
112-
python: 3.6
111+
- name: py37-dj32-mysql_myisam-coverage
112+
python: 3.7
113113
allow_failure: false
114114

115115
# pypy3: not included with coverage reports (much slower then).

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ pytest-django allows you to test your Django project/applications with the
3434

3535
* Django: 3.2, 4.0 and latest main branch (compatible at the time of
3636
each release)
37-
* Python: CPython>=3.6 or PyPy 3
37+
* Python: CPython>=3.7 or PyPy 3
3838
* pytest: >=5.4
3939

4040
For compatibility with older versions, use the pytest-django 3.*.* series.

docs/changelog.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ Improvements
99

1010
* Official Django 4.1 support.
1111

12+
* Drop support for Python version 3.6.
13+
1214
v4.5.2 (2021-12-07)
1315
-------------------
1416

docs/contributing.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,10 @@ writing), running them all will take a long time. All valid configurations can
140140
be found in `tox.ini`. To test against a few of them, invoke tox with the `-e`
141141
flag::
142142

143-
$ tox -e py36-dj111-postgres,py27-dj111-mysql_innodb
143+
$ tox -e py37-dj32-postgres,py310-dj41-mysql_innodb
144144

145-
This will run the tests on Python 3.6/Django 1.11/PostgeSQL and Python
146-
2.7/Django 1.11/MySQL.
145+
This will run the tests on Python 3.7/Django 3.2/PostgeSQL and Python
146+
3.10/Django 4.1/MySQL.
147147

148148

149149
Measuring test coverage

setup.cfg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ classifiers =
2020
License :: OSI Approved :: BSD License
2121
Operating System :: OS Independent
2222
Programming Language :: Python
23-
Programming Language :: Python :: 3.6
2423
Programming Language :: Python :: 3.7
2524
Programming Language :: Python :: 3.8
2625
Programming Language :: Python :: 3.9
@@ -34,7 +33,7 @@ project_urls =
3433

3534
[options]
3635
packages = pytest_django
37-
python_requires = >=3.6
36+
python_requires = >=3.7
3837
setup_requires = setuptools_scm>=5.0.0
3938
install_requires = pytest>=5.4.0
4039
zip_safe = no

tox.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ envlist =
44
py39-dj{main,41,40,32}-postgres
55
py38-dj{main,41,40,32}-postgres
66
py37-dj{32}-postgres
7-
py36-dj{32}-postgres
87
linting
98

109
[testenv]

0 commit comments

Comments
 (0)