Skip to content

Commit 2fd0c2b

Browse files
authored
Support python 3.14, unsupport python 3.9 (#834)
1 parent 1b68320 commit 2fd0c2b

File tree

6 files changed

+20
-20
lines changed

6 files changed

+20
-20
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.13
21+
python-version: 3.14
2222

2323
- name: Install dependencies
2424
run: |

.github/workflows/test.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,26 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
12+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
1313
django-version: ['4.2', '5.1', '5.2', 'main']
1414
postgres-version: ['13', '17']
1515
mariadb-version: ['10.6', '10.11', '11.4']
1616
exclude:
17-
# Django 5.1 doesn't support python <=3.9 (https://docs.djangoproject.com/en/5.1/faq/install/)
18-
- python-version: '3.9'
19-
django-version: '5.1'
20-
21-
# Django 5.2 doesn't support python <=3.9 (https://docs.djangoproject.com/en/5.2/faq/install/)
22-
- python-version: '3.9'
23-
django-version: '5.2'
24-
2517
# Django 5.2 doesn't support Postgres 13 (https://docs.djangoproject.com/en/5.2/releases/5.2/#dropped-support-for-postgresql-13)
2618
- django-version: '5.2'
2719
postgres-version: '13'
20+
- django-version: 'main'
21+
postgres-version: '13'
22+
23+
# Django 4.2 doesn't support Python >= 3.13
24+
- django-version: '4.2'
25+
python-version: '3.13'
26+
- django-version: '4.2'
27+
python-version: '3.14'
2828

29-
# Django main doesn't support python <=3.9 (https://docs.djangoproject.com/en/5.1/faq/install/)
30-
- python-version: '3.9'
31-
django-version: 'main'
29+
# Django 5.1 doesn't support Python >= 3.14
30+
- django-version: '5.1'
31+
python-version: '3.14'
3232

3333
services:
3434
postgres:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Silk is a live profiling and inspection tool for the Django framework. Silk inte
3131
Silk has been tested with:
3232

3333
* Django: 4.2, 5.1, 5.2
34-
* Python: 3.9, 3.10, 3.11, 3.12, 3.13
34+
* Python: 3.10, 3.11, 3.12, 3.13, 3.14
3535

3636
## Installation
3737

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ Requirements
5858
------------
5959

6060
* Django: 4.2, 5.1, 5.2
61-
* Python: 3.9, 3.10, 3.11, 3.12, 3.13
61+
* Python: 3.10, 3.11, 3.12, 3.13, 3.14

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@
2727
'Intended Audience :: Developers',
2828
'Operating System :: OS Independent',
2929
'Programming Language :: Python',
30-
'Programming Language :: Python :: 3.9',
3130
'Programming Language :: Python :: 3.10',
3231
'Programming Language :: Python :: 3.11',
3332
'Programming Language :: Python :: 3.12',
3433
'Programming Language :: Python :: 3.13',
34+
'Programming Language :: Python :: 3.14',
3535
'Topic :: Internet :: WWW/HTTP',
3636
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
3737
],
@@ -43,6 +43,6 @@
4343
extras_require={
4444
'formatting': ['autopep8'],
4545
},
46-
python_requires='>=3.9',
46+
python_requires='>=3.10',
4747
setup_requires=['setuptools_scm'],
4848
)

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[gh-actions]
22
python =
3-
3.9: py39
43
3.10: py310
54
3.11: py311
65
3.12: py312
76
3.13: py313
7+
3.14: py314
88

99
[gh-actions:env]
1010
DJANGO =
@@ -15,8 +15,7 @@ DJANGO =
1515

1616
[tox]
1717
envlist =
18-
py{38,39,310,311,312,313}-dj42-{sqlite3,mysql,postgresql}
19-
py{310,311,312,313}-dj{50,51,52,main}-{sqlite3,mysql,postgresql}
18+
py{310,311,312,313,314}-dj{42,50,51,52,main}-{sqlite3,mysql,postgresql}
2019

2120
[testenv]
2221
usedevelop = True
@@ -33,6 +32,7 @@ deps =
3332
djmain: https://github.com/django/django/archive/main.tar.gz
3433
py312: setuptools
3534
py313: setuptools
35+
py314: setuptools
3636
extras = formatting
3737
setenv =
3838
PYTHONPATH={toxinidir}:{toxinidir}

0 commit comments

Comments
 (0)