Skip to content

Commit 4fd72f8

Browse files
committed
Remove support for Python 3.7
Its EOL was recently passed, see https://devguide.python.org/versions/. Made the new minimum Python version 3.8.
1 parent aab4726 commit 4fd72f8

File tree

8 files changed

+11
-19
lines changed

8 files changed

+11
-19
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,10 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12-dev']
14+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12-dev']
1515
django-version: ['3.2', '4.0', '4.1', 'main']
1616

1717
exclude:
18-
- python-version: '3.7'
19-
django-version: '4.0'
20-
- python-version: '3.7'
21-
django-version: '4.1'
22-
- python-version: '3.7'
23-
django-version: 'main'
24-
2518
- python-version: '3.8'
2619
django-version: 'main'
2720

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ repos:
5050
rev: v3.8.0
5151
hooks:
5252
- id: pyupgrade
53-
args: [--py37-plus]
53+
args: [--py38-plus]

CHANGES.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ Unreleased
99
``SIMPLE_HISTORY_ENFORCE_HISTORY_MODEL_PERMISSIONS`` is set to ``True``
1010
in ``settings`` (gh-1017).
1111
- Fixed ``SimpleHistoryAdmin`` not properly integrating with custom user models (gh-1177)
12-
- Support Indonesian translation
13-
- Support Urdu translation
12+
- Support Indonesian translation (gh-1198)
13+
- Support Urdu translation (gh-1199)
14+
- Dropped support for Python 3.7, which reached end-of-life on 2023-06-27 (gh-1202)
1415

1516
3.3.0 (2023-03-08)
1617
------------------

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ This app supports the following combinations of Django and Python:
4141
========== ========================
4242
Django Python
4343
========== ========================
44-
3.2 3.7, 3.8, 3.9, 3.10
44+
3.2 3.8, 3.9, 3.10
4545
4.0 3.8, 3.9, 3.10
4646
4.1 3.8, 3.9, 3.10, 3.11
4747
========== ========================

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ This app supports the following combinations of Django and Python:
4141
========== =======================
4242
Django Python
4343
========== =======================
44-
3.2 3.7, 3.8, 3.9, 3.10
44+
3.2 3.8, 3.9, 3.10
4545
4.0 3.8, 3.9, 3.10
4646
4.1 3.8, 3.9, 3.10, 3.11
4747
========== =======================

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[tool.black]
22
line-length = 88
3-
target-version = ["py37"]
3+
target-version = ["py38"]
44

55
[tool.isort]
66
profile = "black"
7-
py_version = "37"
7+
py_version = "38"
88

99
[tool.coverage.run]
1010
parallel = true

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,12 @@
3535
"Framework :: Django :: 4.1",
3636
"Programming Language :: Python",
3737
"Programming Language :: Python :: 3",
38-
"Programming Language :: Python :: 3.7",
3938
"Programming Language :: Python :: 3.8",
4039
"Programming Language :: Python :: 3.9",
4140
"Programming Language :: Python :: 3.10",
4241
"Programming Language :: Python :: 3.11",
4342
"License :: OSI Approved :: BSD License",
4443
],
45-
python_requires=">=3.7",
44+
python_requires=">=3.8",
4645
include_package_data=True,
4746
)

tox.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist =
3-
py{37,38,39,310}-dj32-{sqlite3,postgres,mysql,mariadb},
3+
py{38,39,310}-dj32-{sqlite3,postgres,mysql,mariadb},
44
py{38,39}-dj{40,41}-{sqlite3,postgres,mysql,mariadb},
55
py310-dj{40,41,main}-{sqlite3,postgres,mysql,mariadb},
66
py311-dj{41,main}-{sqlite3,postgres,mysql,mariadb},
@@ -9,7 +9,6 @@ envlist =
99

1010
[gh-actions]
1111
python =
12-
3.7: py37
1312
3.8: py38, docs, lint
1413
3.9: py39
1514
3.10: py310

0 commit comments

Comments
 (0)