diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9d4c56a..b240590 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -19,6 +19,7 @@ jobs: - "3.10" - "3.11" - "3.12" + - "3.13" steps: - uses: actions/checkout@v3 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 769f1c1..3d90101 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ exclude: ".yarn/|yarn.lock|\\.min\\.(css|js)$" repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: check-added-large-files - id: check-builtin-literals @@ -14,35 +14,21 @@ repos: - id: mixed-line-ending - id: trailing-whitespace - repo: https://github.com/adamchainz/django-upgrade - rev: 1.20.0 + rev: 1.22.1 hooks: - id: django-upgrade args: [--target-version, "3.2"] - - repo: https://github.com/MarcoGorelli/absolufy-imports - rev: v0.3.1 - hooks: - - id: absolufy-imports - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.5.5" + rev: "v0.7.0" hooks: - id: ruff + args: [--unsafe-fixes] - id: ruff-format - - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.1.0 - hooks: - - id: prettier - args: [--list-different, --no-semi] - exclude: "^conf/|.*\\.html$" - - repo: https://github.com/biomejs/pre-commit - rev: "v0.4.0" - hooks: - - id: biome-check - additional_dependencies: ["@biomejs/biome@1.7.3"] - repo: https://github.com/tox-dev/pyproject-fmt - rev: 2.1.4 + rev: 2.4.3 hooks: - id: pyproject-fmt - repo: https://github.com/abravalheri/validate-pyproject - rev: v0.18 + rev: v0.21 hooks: - id: validate-pyproject diff --git a/CHANGELOG.rst b/CHANGELOG.rst index c3d27af..1d799ae 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -6,7 +6,7 @@ Change log ~~~~~~~~~~~~~~~ - Added ``./manage.py f3dumpdata -`` which allows reading JSON data from stdin. -- Added Python 3.12 and Django 5.0. +- Added Python 3.12, 3.13 and Django 5.0, 5.1. - Order objects by their primary key when dumping specs. This helps with comparing JSON files by hand. diff --git a/pyproject.toml b/pyproject.toml index 6e5dcac..438e20c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,6 +25,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development", "Topic :: Software Development :: Libraries :: Application Frameworks", diff --git a/tox.ini b/tox.ini index 861f35b..bff7f5d 100644 --- a/tox.ini +++ b/tox.ini @@ -2,6 +2,7 @@ envlist = py{38,39,310}-dj{32,40,41,42} py{310,311,312}-dj{32,40,41,42,50,main} + py{313}-dj{51,main} [testenv] usedevelop = true @@ -15,6 +16,7 @@ deps = dj41: Django>=4.1,<4.2 dj42: Django>=4.2,<5.0 dj50: Django>=5.0,<5.1 + dj51: Django>=5.1,<5.2 djmain: https://github.com/django/django/archive/main.tar.gz [testenv:docs]