Skip to content

Commit 45180de

Browse files
committed
chore!: drop support for py3.8
1 parent fe68d9f commit 45180de

File tree

4 files changed

+17
-19
lines changed

4 files changed

+17
-19
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,11 @@ jobs:
1010
strategy:
1111
fail-fast: false
1212
matrix:
13-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
14-
django-version: ["3.2", "4.0", "4.1", "4.2", "5.0", "main"]
13+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
14+
django-version: ["3.2", "4.0", "4.1", "4.2", "5.0", "5.1", "main"]
1515
exclude:
16-
- python-version: "3.7"
17-
django-version: "main"
18-
- python-version: "3.8"
19-
django-version: "main"
2016
- python-version: "3.9"
2117
django-version: "main"
22-
- python-version: "3.7"
23-
django-version: "5.0"
24-
- python-version: "3.8"
25-
django-version: "5.0"
2618
- python-version: "3.9"
2719
django-version: "5.0"
2820

.github/workflows/python-publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Setup
1919
uses: descope/.github/.github/actions/python/poetry/setup@main
2020
with:
21-
python-version: "3.8"
21+
python-version: "3.9"
2222
- name: Autobump version
2323
run: |
2424
poetry version $(git describe --tags --abbrev=0)

pyproject.toml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,24 +23,28 @@ classifiers = [
2323
"Framework :: Django :: 3.2",
2424
"Framework :: Django :: 4.0",
2525
"Framework :: Django :: 4.1",
26+
"Framework :: Django :: 4.2",
27+
"Framework :: Django :: 5.0",
28+
"Framework :: Django :: 5.1",
2629
"Intended Audience :: Developers",
2730
"License :: OSI Approved :: MIT License",
2831
"Operating System :: OS Independent",
2932
"Programming Language :: Python",
3033
"Programming Language :: Python :: 3",
3134
"Programming Language :: Python :: 3 :: Only",
3235
"Programming Language :: Python :: 3.9",
33-
"Programming Language :: Python :: 3.8",
34-
"Programming Language :: Python :: 3.7",
35-
"Programming Language :: Python :: 3.6",
36+
"Programming Language :: Python :: 3.10",
37+
"Programming Language :: Python :: 3.11",
38+
"Programming Language :: Python :: 3.12",
39+
"Programming Language :: Python :: 3.13",
3640
"Topic :: Internet :: WWW/HTTP",
3741
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
3842

3943
]
4044

4145
[tool.poetry.dependencies]
42-
python = ">=3.8.1,<4.0"
43-
Django = ">=3.2.19,<5.1"
46+
python = ">=3.9,<4.0"
47+
Django = ">=3.2.19,<5.2"
4448
descope = "^1.5.1"
4549

4650
[tool.poetry.group.dev.dependencies]

tox.ini

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
[tox]
22
isolated_build=true
33
envlist=
4-
py{38,39,310}-dj{32,40,41,42}
5-
py{311,312}-dj{42, 50}
4+
py3{8,9,10}-dj{32,40,41,42}
5+
py31{1,2,3}-dj{42, 50, 51}
66

77
[gh-actions]
88
python=
9-
3.8: py38
109
3.9: py39
1110
3.10: py310
1211
3.11: py311
1312
3.12: py312
13+
3.13: py313
1414

1515
[gh-actions:env]
1616
DJANGO=
@@ -19,6 +19,7 @@ DJANGO=
1919
4.1: dj41
2020
4.2: dj42
2121
5.0: dj50
22+
5.1: dj51
2223
main: djmain
2324

2425
[testenv]
@@ -37,6 +38,7 @@ deps=
3738
dj41: Django>=4.1,<4.2
3839
dj42: Django>=4.2,<4.3
3940
dj50: Django>=5.0,<5.1
41+
dj50: Django>=5.1,<5.2
4042
djmain: https://github.com/django/django/archive/main.tar.gz
4143
python-dotenv
4244
django-debug-toolbar

0 commit comments

Comments
 (0)