diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a2f64c86..1bad0fb2 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -26,7 +26,7 @@ jobs: - name: Build package distributions run: python -m build - - uses: actions/upload-artifact@v6 + - uses: actions/upload-artifact@v7 with: name: dist path: ./dist diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9a69c1c8..77b4b44b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: - id: check-yaml - id: debug-statements - repo: https://github.com/tox-dev/pyproject-fmt - rev: "v2.21.1" + rev: "v2.21.2" hooks: - id: pyproject-fmt args: ["--max-supported-python=3.14"] @@ -24,7 +24,7 @@ repos: - id: django-upgrade args: [--target-version, "5.2"] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.15.12" + rev: "v0.15.13" hooks: - id: ruff-check args: [--fix, --exit-non-zero-on-fix] diff --git a/CHANGELOG.md b/CHANGELOG.md index b42c48be..ad60e544 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + + ## [0.17.0] - 2026-05-07 - Add Wagtail 7.0, 7.3, and 7.4 support, drop support for Wagtail < 7.0 diff --git a/pyproject.toml b/pyproject.toml index cefde713..d8deb97c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,19 +39,19 @@ dependencies = [ "wagtail-modeladmin>=1", ] optional-dependencies.docs = [ - "sphinx>=1.7.6", - "sphinx-rtd-theme>=0.4", + "sphinx>=7", + "sphinx-rtd-theme>=2", ] optional-dependencies.test = [ "django-debug-toolbar>=6", "factory-boy>=3.3", "freezegun>=1.5", "pre-commit>=4", - "pytest>=7.4", - "pytest-cov>=4", + "pytest>=8", + "pytest-cov>=5", "pytest-django>=4.8", "pytest-mock>=3.10", - "pytest-sugar>=0.9.4", + "pytest-sugar>=1", "wagtail-factories>=4.2", ] urls.Changelog = "https://github.com/wagtail-nest/wagtail-personalisation/blob/main/CHANGELOG.md" @@ -94,7 +94,7 @@ lint.isort.known-first-party = [ "wagtail_personalisation" ] [tool.pytest] ini_options.DJANGO_SETTINGS_MODULE = "tests.settings" -ini_options.minversion = "7.4" +ini_options.minversion = "8.0" ini_options.django_find_project = false ini_options.testpaths = [ "tests" ] ini_options.pythonpath = [ "." ] diff --git a/tox.ini b/tox.ini index 7a84ecd0..7362377b 100644 --- a/tox.ini +++ b/tox.ini @@ -27,7 +27,7 @@ deps = dj60: Django>=6.0,<6.1 wt70: wagtail>=7.0,<7.1 wt73: wagtail>=7.3,<7.4 - wt74: wagtail>=7.4rc1,<7.5 + wt74: wagtail>=7.4,<7.5 geoip2: geoip2 [testenv:future]