diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0e25f83..be6ed98 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 94c6bcd..1a1a7c5 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,27 +14,27 @@ repos: - id: mixed-line-ending - id: trailing-whitespace - repo: https://github.com/adamchainz/django-upgrade - rev: 1.21.0 + rev: 1.22.1 hooks: - id: django-upgrade args: [--target-version, "3.2"] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.6.4" + rev: "v0.7.0" hooks: - id: ruff args: [--unsafe-fixes] - id: ruff-format - repo: https://github.com/biomejs/pre-commit - rev: "v0.4.0" + rev: "v0.5.0" hooks: - id: biome-check - additional_dependencies: ["@biomejs/biome@1.8.3"] + additional_dependencies: ["@biomejs/biome@1.9.4"] args: [--unsafe] - repo: https://github.com/tox-dev/pyproject-fmt - rev: 2.2.3 + rev: 2.4.3 hooks: - id: pyproject-fmt - repo: https://github.com/abravalheri/validate-pyproject - rev: v0.19 + rev: v0.21 hooks: - id: validate-pyproject diff --git a/CHANGELOG.rst b/CHANGELOG.rst index df13c57..5d26c1d 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -9,6 +9,7 @@ Next version - Added support for setting ``IMAGEFIELD_AUTOGENERATE = False``. Previously, only ``True`` or an iterable were supported. - Dropped compatibility with Python 3.8 and 3.9. +- Added Python 3.13. 0.19 (2024-08-03) diff --git a/biome.json b/biome.json index 03bf2a0..dea25a7 100644 --- a/biome.json +++ b/biome.json @@ -1,5 +1,5 @@ { - "$schema": "https://biomejs.dev/schemas/1.8.3/schema.json", + "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", "organizeImports": { "enabled": false }, diff --git a/pyproject.toml b/pyproject.toml index f0e27d6..96cbb1f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,6 +24,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 3f8c3e5..6eac6bd 100644 --- a/tox.ini +++ b/tox.ini @@ -2,6 +2,7 @@ envlist = py{310}-dj{32,42} py{310,311,312}-dj{32,42,50,51,main} + py{313}-dj{51,main} docs [testenv] @@ -14,7 +15,7 @@ deps = dj32: Django>=3.2,<4.0 dj42: Django>=4.2,<5.0 dj50: Django>=5.0,<5.1 - dj51: Django>=5.1rc1,<5.2 + dj51: Django>=5.1,<5.2 djmain: https://github.com/django/django/archive/main.tar.gz [testenv:docs]