diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4e08246..1d62f3c 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.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 4631604..2a62d9c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,7 +19,7 @@ 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.11" + PYTHON_LATEST: "3.13" jobs: tests: @@ -43,6 +43,8 @@ jobs: pypi.org:443 api.github.com:443 - uses: actions/checkout@v4 + with: + persist-credentials: false - name: 🐍 Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 with: diff --git a/pyproject.toml b/pyproject.toml index 28234e8..1fd8544 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,10 +33,10 @@ dependencies = [ [project.optional-dependencies] testing = [ - "coverage>=7.4.0", + "coverage>=7.6.0", ] linting = [ - "pre-commit>=3.6.0", + "pre-commit>=5.0.0", ] [project.urls] diff --git a/tox.ini b/tox.ini index 1963fb6..bf2e6f5 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -min_version = 4.11 +min_version = 4.22 env_list = py{39,310,311}-dj42-wagtail{52} @@ -51,7 +51,7 @@ commands = python -Im coverage run runtests.py {posargs: -v 2} [testenv:coverage-report] -base_python = python3.11 +base_python = python3.12 package = skip deps = coverage>=7.0,<8.0 @@ -61,17 +61,17 @@ 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.11 +base_python = python3.13 deps = - wagtail>=5.2 + wagtail>=6.3 commands_pre = python {toxinidir}/manage.py makemigrations