Skip to content

Wagtail 7.4 Maintenance#32

Open
nickmoreton wants to merge 2 commits into
mainfrom
support/wagtail-74-maintenance
Open

Wagtail 7.4 Maintenance#32
nickmoreton wants to merge 2 commits into
mainfrom
support/wagtail-74-maintenance

Conversation

@nickmoreton
Copy link
Copy Markdown
Collaborator

@nickmoreton nickmoreton commented May 26, 2026

Summary

  • Narrow the support range to Wagtail 7.0–7.4, Django 5.2–6.0, and Python 3.10–3.14. Drop EOL versions (Wagtail 5.2/6.3/6.4, Django 4.2/5.1, Python 3.9), refresh classifiers, and consolidate setup.cfg so setup.py is the single source of packaging metadata.
  • Fix wagtail.core.middleware.SiteMiddlewarewagtail.middleware.SiteMiddleware in the test settings (the namespace was removed in Wagtail 5, which made the test suite unimportable on every in-range Wagtail version).
  • Switch the release workflow to python -m build and bump codecov-action@v5.

Pre-commit hook changes

  • Bumped black 25.1.0 → 26.5.1 (one minor reformat in make_up.py), isort 6.0.1 → 8.0.1, flake8 7.1.2 → 7.3.0.
  • Repointed black from the legacy github.com/python/black mirror to the canonical github.com/psf/black repository.
  • Removed the pre-commit/mirrors-prettier hook (the repo is archived, the pin v2.3.2 is from 2021, and the package ships no JS/CSS/Markdown that needs formatting).
  • Removed the awebdeveloper/pre-commit-stylelint hook (pinned to a 2019 SHA with stylelint@10.1.0 and stylelint-config-torchbox@0.5.0; the package has no stylesheets so the hook had nothing to check).
  • Dropped the default_language_version.node pin (no Node hooks remain) and bumped the Python pin from python3.12 to python3.13.

Test plan

  • pre-commit run --all-files passes
  • tox -e py312-dj52-wt70 passes (oldest supported corner)
  • tox -e py313-dj60-wt74 passes (newest supported corner)
  • Full CI matrix passes on GitHub Actions

🤖 Generated with Claude Code

nickmoreton and others added 2 commits May 26, 2026 17:37
Bump black to 26.5.1, isort to 8.0.1, and flake8 to 7.3.0. Drop the
archived prettier mirror and the stale stylelint hook (no JS/CSS in
the package). Extend the CI Python matrix to 3.10-3.14, bump
codecov-action to v5, and remove the dead DJANGO/WAGTAIL env
passthroughs (tox-gh-actions reads the matrix from tox.ini).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Narrow the support range to Wagtail 7.0-7.4, Django 5.2-6.0, and
Python 3.10-3.14. Drop EOL versions (Wagtail 5.2/6.3/6.4, Django 4.2/5.1,
Python 3.9), refresh classifiers, fix the wagtail.core.middleware import
that was renamed in Wagtail 5, consolidate setup.cfg so setup.py is the
single source of packaging metadata, and switch the release workflow to
python -m build.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@nickmoreton nickmoreton changed the title Support Wagtail 7.4 LTS and Django 6.0 Wagtail 7.4 Maintenance May 26, 2026
@nickmoreton
Copy link
Copy Markdown
Collaborator Author

We won't need #31 once this is merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant