Skip to content

Commit 0ec991f

Browse files
Dropped support for Python 3.8
Its EOL was recently passed - see https://devguide.python.org/versions/#unsupported-versions Made the new minimum Python version 3.9. --------- Co-authored-by: Anders <[email protected]>
1 parent 64cdeb4 commit 0ec991f

File tree

7 files changed

+17
-23
lines changed

7 files changed

+17
-23
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,13 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13-dev']
14+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
1515
django-version: ['4.2', '5.0', 'main']
1616

1717
exclude:
18-
# Exclude py3.8 and py3.9 for Django main and 5.0
19-
- python-version: '3.8'
20-
django-version: '5.0'
18+
# Exclude py3.9 for Django main and 5.0
2119
- python-version: '3.9'
2220
django-version: '5.0'
23-
- python-version: '3.8'
24-
django-version: 'main'
2521
- python-version: '3.9'
2622
django-version: 'main'
2723

@@ -101,7 +97,7 @@ jobs:
10197
- name: Set up newest stable Python version
10298
uses: actions/setup-python@v5
10399
with:
104-
python-version: 3.11
100+
python-version: 3.13
105101
cache: 'pip'
106102
# Invalidate the cache when this file updates, as the dependencies' versions
107103
# are pinned in the step below

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ repos:
4040
- id: detect-private-key
4141

4242
- repo: https://github.com/tox-dev/pyproject-fmt
43-
rev: 2.2.3
43+
rev: v2.5.0
4444
hooks:
4545
- id: pyproject-fmt
4646
- repo: https://github.com/abravalheri/validate-pyproject
@@ -59,4 +59,4 @@ repos:
5959
rev: v3.17.0
6060
hooks:
6161
- id: pyupgrade
62-
args: [--py38-plus]
62+
args: [--py39-plus]

CHANGES.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Unreleased
1010
- Fixed issue with deferred fields causing DoesNotExist error (gh-678)
1111
- Added HistoricOneToOneField (gh-1394)
1212
- Updated all djangoproject.com links to reference the stable version (gh-1420)
13+
- Dropped support for Python 3.8, which reached end-of-life on 2024-10-07 (gh-1421)
1314

1415
3.7.0 (2024-05-29)
1516
------------------

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ This app supports the following combinations of Django and Python:
4545
========== ========================
4646
Django Python
4747
========== ========================
48-
4.2 3.8, 3.9, 3.10, 3.11, 3.12, 3.13-dev
49-
5.0 3.10, 3.11, 3.12, 3.13-dev
50-
main 3.10, 3.11, 3.12, 3.13-dev
48+
4.2 3.9, 3.10, 3.11, 3.12, 3.13
49+
5.0 3.10, 3.11, 3.12, 3.13
50+
main 3.10, 3.11, 3.12, 3.13
5151
========== ========================
5252

5353
Getting Help

docs/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ This app supports the following combinations of Django and Python:
4141
========== =======================
4242
Django Python
4343
========== =======================
44-
4.2 3.8, 3.9, 3.10, 3.11, 3.12, 3.13-dev
45-
5.0 3.10, 3.11, 3.12, 3.13-dev
46-
main 3.10, 3.11, 3.12, 3.13-dev
44+
4.2 3.9, 3.10, 3.11, 3.12, 3.13
45+
5.0 3.10, 3.11, 3.12, 3.13
46+
main 3.10, 3.11, 3.12, 3.13
4747
========== =======================
4848

4949
Contribute

pyproject.toml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ maintainers = [
1515
authors = [
1616
{ name = "Corey Bertram", email = "[email protected]" },
1717
]
18-
requires-python = ">=3.8"
18+
requires-python = ">=3.9"
1919
classifiers = [
2020
"Development Status :: 5 - Production/Stable",
2121
"Environment :: Web Environment",
@@ -26,13 +26,11 @@ classifiers = [
2626
"License :: OSI Approved :: BSD License",
2727
"Programming Language :: Python",
2828
"Programming Language :: Python :: 3 :: Only",
29-
"Programming Language :: Python :: 3.8",
3029
"Programming Language :: Python :: 3.9",
3130
"Programming Language :: Python :: 3.10",
3231
"Programming Language :: Python :: 3.11",
3332
"Programming Language :: Python :: 3.12",
34-
# DEV: uncomment this when the `pyproject-fmt` pre-commit hook stops removing it
35-
#"Programming Language :: Python :: 3.13",
33+
"Programming Language :: Python :: 3.13",
3634
]
3735
dynamic = [
3836
"readme",
@@ -83,12 +81,12 @@ fragments = [
8381
[tool.black]
8482
line-length = 88
8583
target-version = [
86-
"py38",
84+
"py39",
8785
]
8886

8987
[tool.isort]
9088
profile = "black"
91-
py_version = "38"
89+
py_version = "39"
9290

9391
[tool.coverage.run]
9492
parallel = true

tox.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
[tox]
22
envlist =
3-
py{38,39,310,311,312,313}-dj42-{sqlite3,postgres,mysql,mariadb},
3+
py{39,310,311,312,313}-dj42-{sqlite3,postgres,mysql,mariadb},
44
py{310,311,312,313}-dj50-{sqlite3,postgres,mysql,mariadb},
55
py{310,311,312,313}-djmain-{sqlite3,postgres,mysql,mariadb},
66
docs,
77
lint
88

99
[gh-actions]
1010
python =
11-
3.8: py38
1211
3.9: py39
1312
3.10: py310
1413
3.11: py311, docs, lint

0 commit comments

Comments
 (0)