Skip to content

Commit b97ffed

Browse files
committed
Removed support for Python 3.8 end of life
1 parent a8b7b61 commit b97ffed

File tree

6 files changed

+13
-14
lines changed

6 files changed

+13
-14
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set up Python
1919
uses: actions/setup-python@v5
2020
with:
21-
python-version: 3.8
21+
python-version: 3.9
2222

2323
- name: Install dependencies
2424
run: |

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
fail-fast: false
1515
max-parallel: 5
1616
matrix:
17-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
17+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
1818

1919
services:
2020
mariadb:
@@ -73,7 +73,7 @@ jobs:
7373
fail-fast: false
7474
max-parallel: 5
7575
matrix:
76-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
76+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
7777
database: [postgresql, postgis]
7878
# Add psycopg3 to our matrix for modern python versions
7979
include:
@@ -148,7 +148,7 @@ jobs:
148148
fail-fast: false
149149
max-parallel: 5
150150
matrix:
151-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
151+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
152152

153153
steps:
154154
- uses: actions/checkout@v4
@@ -195,7 +195,7 @@ jobs:
195195
- name: Set up Python ${{ matrix.python-version }}
196196
uses: actions/setup-python@v5
197197
with:
198-
python-version: 3.8
198+
python-version: 3.9
199199

200200
- name: Get pip cache dir
201201
id: pip-cache

debug_toolbar/toolbar.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@
44

55
import re
66
import uuid
7+
from collections import OrderedDict
78
from functools import lru_cache
89

9-
# Can be removed when python3.8 is dropped
10-
from typing import OrderedDict
11-
1210
from django.apps import apps
1311
from django.conf import settings
1412
from django.core.exceptions import ImproperlyConfigured

docs/changes.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ Change log
44
Pending
55
-------
66

7-
* Added support for Python 3.13 and to the CI matrix.
7+
* Added support for Python 3.13 to the CI matrix.
8+
* Removed support for Python 3.8 as it is end of life.
89

910
5.0.0-alpha (2024-09-01)
1011
------------------------

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ license = { text = "BSD-3-Clause" }
1212
authors = [
1313
{ name = "Rob Hudson" },
1414
]
15-
requires-python = ">=3.8"
15+
requires-python = ">=3.9"
1616
classifiers = [
1717
"Development Status :: 5 - Production/Stable",
1818
"Environment :: Web Environment",
@@ -25,7 +25,6 @@ classifiers = [
2525
"Operating System :: OS Independent",
2626
"Programming Language :: Python",
2727
"Programming Language :: Python :: 3 :: Only",
28-
"Programming Language :: Python :: 3.8",
2928
"Programming Language :: Python :: 3.9",
3029
"Programming Language :: Python :: 3.10",
3130
"Programming Language :: Python :: 3.11",

tox.ini

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ isolated_build = true
33
envlist =
44
docs
55
packaging
6-
py{38,39,310,311,312,313}-dj{42}-{sqlite,postgresql,postgis,mysql}
7-
py{310,311,312,313}-dj{42,50,51,main}-{sqlite,postgresql,psycopg3,postgis,mysql}
6+
py{39,310,311,312}-dj{42}-{sqlite,postgresql,postgis,mysql}
7+
py{310,311,312}-dj{42,50,51,main}-{sqlite,postgresql,psycopg3,postgis,mysql}
8+
py{313}-dj{51,main}-{sqlite,postgresql,psycopg3,postgis,mysql}
89

910
[testenv]
1011
deps =
@@ -94,7 +95,6 @@ skip_install = true
9495

9596
[gh-actions]
9697
python =
97-
3.8: py38
9898
3.9: py39
9999
3.10: py310
100100
3.11: py311
@@ -105,6 +105,7 @@ python =
105105
DB_BACKEND =
106106
mysql: mysql
107107
postgresql: postgresql
108+
psycopg: psycopg
108109
psycopg3: psycopg3
109110
postgis: postgis
110111
sqlite3: sqlite

0 commit comments

Comments
 (0)