Skip to content

Commit fb63de3

Browse files
akxbluetech
authored andcommitted
Drop support for Python 3.7 (EOL since June 2023)
1 parent 5337357 commit fb63de3

File tree

4 files changed

+10
-11
lines changed

4 files changed

+10
-11
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,21 +97,21 @@ jobs:
9797
python: '3.8'
9898
allow_failure: false
9999

100-
- name: py37-dj32-sqlite-xdist-coverage
101-
python: '3.7'
100+
- name: py38-dj32-sqlite-xdist-coverage
101+
python: '3.8'
102102
allow_failure: false
103103

104104
- name: py310-djmain-sqlite-coverage
105105
python: '3.10'
106106
allow_failure: true
107107

108-
- name: py37-dj32-mysql_myisam-coverage
109-
python: '3.7'
108+
- name: py38-dj32-mysql_myisam-coverage
109+
python: '3.8'
110110
allow_failure: false
111111

112112
# Explicitly test min pytest.
113-
- name: py37-dj32-sqlite-pytestmin-coverage
114-
python: '3.7'
113+
- name: py38-dj32-sqlite-pytestmin-coverage
114+
python: '3.8'
115115
allow_failure: false
116116

117117
# 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, 4.1, 4.2 and latest main branch (compatible at the time of
3636
each release)
37-
* Python: CPython>=3.7 or PyPy 3
37+
* Python: CPython>=3.8 or PyPy 3
3838
* pytest: >=5.4
3939

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

docs/contributing.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,9 @@ 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 py37-dj32-postgres,py310-dj41-mysql_innodb
143+
$ tox -e py38-dj32-postgres,py310-dj41-mysql_innodb
144144

145-
This will run the tests on Python 3.7/Django 3.2/PostgeSQL and Python
145+
This will run the tests on Python 3.8/Django 3.2/PostgeSQL and Python
146146
3.10/Django 4.1/MySQL.
147147

148148

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.7
2423
Programming Language :: Python :: 3.8
2524
Programming Language :: Python :: 3.9
2625
Programming Language :: Python :: 3.10
@@ -34,7 +33,7 @@ project_urls =
3433

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

0 commit comments

Comments
 (0)