diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index aba61b8..8829d5b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/setup-python@v5 with: - python-version: '3.12' + python-version: '3.13' cache: "pip" cache-dependency-path: "**/pyproject.toml" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3dfb62a..54a2e5c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,14 +22,14 @@ env: PIP_DISABLE_PIP_VERSION_CHECK: "1" PIP_NO_PYTHON_VERSION_WARNING: "1" # Keep in sync with .pre-commit-config.yaml/default_language_version/python. - PYTHON_LATEST: "3.12" + PYTHON_LATEST: "3.13" jobs: tests: runs-on: ubuntu-latest 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: - name: Harden Runner diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1800ec9..81ebade 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ default_language_version: # Keep in sync with test.yml/PYTHON_LATEST - python: python3.12 + python: python3.13 ci: autofix_prs: false diff --git a/pyproject.toml b/pyproject.toml index ea50883..fbe30ae 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", ] dynamic = ["version"] diff --git a/tox.ini b/tox.ini index 5dae135..df00920 100644 --- a/tox.ini +++ b/tox.ini @@ -2,9 +2,9 @@ min_version = 4.11 env_list = - python{39,310,311}-django4.2-wagtail{5.2,6.1,6.2} - python{310,311,312}-django5.0-wagtail{5.2,6.1,6.2} - python312-django5.1-wagtail{6.2,main} + python{39,310,311}-django4.2-wagtail{5.2,6.2,6.3} + python{310,311,312}-django5.0-wagtail{5.2,6.2,6.3} + python{312,313}-django5.1-wagtail{6.3,main} [gh-actions] python = @@ -12,6 +12,7 @@ python = 3.10: python310 3.11: python311 3.12: python312 + 3.13: python313 [testenv] package = wheel @@ -27,8 +28,8 @@ setenv = PYTHONPATH = {toxinidir} DJANGO_SETTINGS_MODULE = tests.settings PYTHONDEVMODE = 1 - # use the Python 3.12+ sys.monitoring - python3.12: COVERAGE_CORE=sysmon + # use the Python 3.13+ sys.monitoring + python3.13: COVERAGE_CORE=sysmon deps = coverage>=7.0,<8.0 @@ -38,8 +39,8 @@ deps = django5.1: Django>=5.1,<5.2 wagtail5.2: wagtail>=5.2,<5.3 - wagtail6.1: wagtail>=6.1,<6.2 wagtail6.2: wagtail>=6.2,<6.3 + wagtail6.3: wagtail>=6.3,<6.4 install_command = python -Im pip install -U {opts} {packages} @@ -50,7 +51,7 @@ commands = python -m coverage run {toxinidir}/tests/manage.py test {posargs: -v 2} [testenv:coverage-report] -base_python = python3.12 +base_python = python3.13 package = skip deps = coverage>=7.0,<8.0 @@ -60,7 +61,7 @@ commands = [testenv:interactive] description = An interactive environment for local testing purposes -base_python = python3.12 +base_python = python3.13 package = editable deps =