Skip to content

Commit 7d57570

Browse files
committed
Add Python 3.13, drop old versions
1 parent 0a970ba commit 7d57570

File tree

7 files changed

+17
-15
lines changed

7 files changed

+17
-15
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
- "3.10"
2020
- "3.11"
2121
- "3.12"
22+
- "3.13"
2223

2324
steps:
2425
- uses: actions/checkout@v4

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
exclude: ".yarn/|yarn.lock|\\.min\\.(css|js)$"
22
repos:
33
- repo: https://github.com/pre-commit/pre-commit-hooks
4-
rev: v4.6.0
4+
rev: v5.0.0
55
hooks:
66
- id: check-added-large-files
77
- id: check-builtin-literals
@@ -14,12 +14,12 @@ repos:
1414
- id: mixed-line-ending
1515
- id: trailing-whitespace
1616
- repo: https://github.com/adamchainz/django-upgrade
17-
rev: 1.21.0
17+
rev: 1.22.1
1818
hooks:
1919
- id: django-upgrade
2020
args: [--target-version, "3.2"]
2121
- repo: https://github.com/astral-sh/ruff-pre-commit
22-
rev: "v0.6.7"
22+
rev: "v0.8.0"
2323
hooks:
2424
- id: ruff
2525
args: [--unsafe-fixes]
@@ -28,13 +28,13 @@ repos:
2828
rev: "v0.5.0"
2929
hooks:
3030
- id: biome-check
31-
additional_dependencies: ["@biomejs/[email protected].2"]
31+
additional_dependencies: ["@biomejs/[email protected].4"]
3232
args: [--unsafe]
3333
- repo: https://github.com/tox-dev/pyproject-fmt
34-
rev: 2.2.4
34+
rev: v2.5.0
3535
hooks:
3636
- id: pyproject-fmt
3737
- repo: https://github.com/abravalheri/validate-pyproject
38-
rev: v0.19
38+
rev: v0.23
3939
hooks:
4040
- id: validate-pyproject

CHANGELOG.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ Change log
55
Next version
66
============
77

8+
- Added Python 3.13. Removed Python 3.8 and 3.9.
9+
10+
811
7.1 (2024-10-02)
912
================
1013

biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.9.2/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
33
"organizeImports": {
44
"enabled": false
55
},

content_editor/static/content_editor/material-icons.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
npx google-font-downloader "https://fonts.googleapis.com/icon?family=Material+Icons"
3-
Current version: v141
3+
Current version: v142
44
*/
55

66
/* fallback */

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ license = { text = "BSD-3-Clause" }
1212
authors = [
1313
{ name = "Matthias Kestenholz", email = "[email protected]" },
1414
]
15-
requires-python = ">=3.8"
15+
requires-python = ">=3.10"
1616
classifiers = [
1717
"Development Status :: 5 - Production/Stable",
1818
"Environment :: Web Environment",
@@ -22,11 +22,10 @@ classifiers = [
2222
"Operating System :: OS Independent",
2323
"Programming Language :: Python",
2424
"Programming Language :: Python :: 3 :: Only",
25-
"Programming Language :: Python :: 3.8",
26-
"Programming Language :: Python :: 3.9",
2725
"Programming Language :: Python :: 3.10",
2826
"Programming Language :: Python :: 3.11",
2927
"Programming Language :: Python :: 3.12",
28+
"Programming Language :: Python :: 3.13",
3029
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
3130
"Topic :: Software Development",
3231
"Topic :: Software Development :: Libraries :: Application Frameworks",
@@ -52,7 +51,7 @@ include = [
5251
path = "content_editor/__init__.py"
5352

5453
[tool.ruff]
55-
target-version = "py38"
54+
target-version = "py310"
5655

5756
fix = true
5857
show-fixes = true

tox.ini

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[tox]
22
envlist =
3-
py{38,39,310}-dj{32,41}
4-
py{310,311}-dj{32,41,42,main}
3+
py{310,311}-dj{42,main}
54
py{312}-dj{42,50,51,main}
5+
py{313}-dj{51,main}
66
docs
77

88
[testenv]
@@ -13,7 +13,6 @@ commands =
1313
coverage report -m
1414
deps =
1515
dj32: Django>=3.2,<4.0
16-
dj41: Django>=4.1,<4.2
1716
dj42: Django>=4.2,<5.0
1817
dj50: Django>=5.0,<5.1
1918
dj51: Django>=5.1,<5.2

0 commit comments

Comments
 (0)