diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6d972dd..a6d8f46 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: '3.13' cache: "pip" cache-dependency-path: "**/pyproject.toml" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7155e50..e3f09bb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,7 +27,7 @@ jobs: strategy: matrix: - python-version: ["3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v4 diff --git a/pyproject.toml b/pyproject.toml index 4eb38d1..4b8b088 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,6 +17,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Framework :: Django", "Framework :: Django :: 4.2", "Framework :: Django :: 5.0", diff --git a/tox.ini b/tox.ini index 0f54c0a..c241a05 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ min_version = 4.11 env_list = python{3.9,3.10,3.11}-django4.2-wagtail{5.2,6.2,6.3} python{3.10,3.11,3.12}-django5.0-wagtail{5.2,6.2,6.3} - python{3.10,3.11,3.12}-django5.1-wagtail6.3 + python{3.10,3.11,3.12,3.13}-django5.1-wagtail6.3 [gh-actions] python = @@ -12,6 +12,7 @@ python = 3.10: python3.10 3.11: python3.11 3.12: python3.12 + 3.13: python3.13 [testenv] package = wheel @@ -44,7 +45,7 @@ commands = python -Im coverage run runtests.py test --deprecation all {posargs: -v 2} [testenv:coverage-report] -base_python = python3.12 +base_python = python3.13 package = skip deps = coverage>=7.0,<8.0 @@ -54,14 +55,14 @@ commands = [testenv:wagtailmain] description = Test with latest Wagtail main branch -base_python = python3.12 +base_python = python3.13 deps = wagtailmain: git+https://github.com/wagtail/wagtail.git@main#egg=Wagtail [testenv:interactive] package = editable description = An interactive environment for local testing purposes -base_python = python3.12 +base_python = python3.13 commands_pre = python {toxinidir}/manage.py makemigrations