Skip to content

Commit 0248927

Browse files
committed
Add Python 3.13, Django 5.1
1 parent 5b86412 commit 0248927

File tree

5 files changed

+11
-21
lines changed

5 files changed

+11
-21
lines changed

.github/workflows/tests.yml

+1
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@v3

.pre-commit-config.yaml

+6-20
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,35 +14,21 @@ repos:
1414
- id: mixed-line-ending
1515
- id: trailing-whitespace
1616
- repo: https://github.com/adamchainz/django-upgrade
17-
rev: 1.20.0
17+
rev: 1.22.1
1818
hooks:
1919
- id: django-upgrade
2020
args: [--target-version, "3.2"]
21-
- repo: https://github.com/MarcoGorelli/absolufy-imports
22-
rev: v0.3.1
23-
hooks:
24-
- id: absolufy-imports
2521
- repo: https://github.com/astral-sh/ruff-pre-commit
26-
rev: "v0.5.5"
22+
rev: "v0.7.0"
2723
hooks:
2824
- id: ruff
25+
args: [--unsafe-fixes]
2926
- id: ruff-format
30-
- repo: https://github.com/pre-commit/mirrors-prettier
31-
rev: v3.1.0
32-
hooks:
33-
- id: prettier
34-
args: [--list-different, --no-semi]
35-
exclude: "^conf/|.*\\.html$"
36-
- repo: https://github.com/biomejs/pre-commit
37-
rev: "v0.4.0"
38-
hooks:
39-
- id: biome-check
40-
additional_dependencies: ["@biomejs/[email protected]"]
4127
- repo: https://github.com/tox-dev/pyproject-fmt
42-
rev: 2.1.4
28+
rev: 2.4.3
4329
hooks:
4430
- id: pyproject-fmt
4531
- repo: https://github.com/abravalheri/validate-pyproject
46-
rev: v0.18
32+
rev: v0.21
4733
hooks:
4834
- id: validate-pyproject

CHANGELOG.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Change log
66
~~~~~~~~~~~~~~~
77

88
- Added ``./manage.py f3dumpdata -`` which allows reading JSON data from stdin.
9-
- Added Python 3.12 and Django 5.0.
9+
- Added Python 3.12, 3.13 and Django 5.0, 5.1.
1010
- Order objects by their primary key when dumping specs. This helps with
1111
comparing JSON files by hand.
1212

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ classifiers = [
2525
"Programming Language :: Python :: 3.10",
2626
"Programming Language :: Python :: 3.11",
2727
"Programming Language :: Python :: 3.12",
28+
"Programming Language :: Python :: 3.13",
2829
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
2930
"Topic :: Software Development",
3031
"Topic :: Software Development :: Libraries :: Application Frameworks",

tox.ini

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
envlist =
33
py{38,39,310}-dj{32,40,41,42}
44
py{310,311,312}-dj{32,40,41,42,50,main}
5+
py{313}-dj{51,main}
56

67
[testenv]
78
usedevelop = true
@@ -15,6 +16,7 @@ deps =
1516
dj41: Django>=4.1,<4.2
1617
dj42: Django>=4.2,<5.0
1718
dj50: Django>=5.0,<5.1
19+
dj51: Django>=5.1,<5.2
1820
djmain: https://github.com/django/django/archive/main.tar.gz
1921

2022
[testenv:docs]

0 commit comments

Comments
 (0)