Skip to content

Wagtail 7.4 maintenance#93

Open
nickmoreton wants to merge 2 commits into
cfpb:mainfrom
torchbox-forks:support/wagtail-74-maintenance
Open

Wagtail 7.4 maintenance#93
nickmoreton wants to merge 2 commits into
cfpb:mainfrom
torchbox-forks:support/wagtail-74-maintenance

Conversation

@nickmoreton
Copy link
Copy Markdown
Contributor

@nickmoreton nickmoreton commented May 28, 2026

Maintenance pass to extend the support window: add Python 3.14, Django 6.0, and Wagtail 7.3 / 7.4 (LTS); drop end-of-life Wagtail 6.x; refresh tooling and test fixtures.

Additions

  • Add support for Python 3.14 (tested against Wagtail 7.3+ on Django 5.2 and 6.0; Wagtail 7.0 LTS does not support Python 3.14 and is excluded from those cells).
  • Add support for Django 6.0 (paired with Wagtail 7.3 and 7.4 LTS).
  • Add support for Wagtail 7.3 and Wagtail 7.4 LTS.
  • Add Framework :: Django :: 6.0 and Programming Language :: Python :: 3.14 classifiers.
  • Add locale field to test page fixtures (required by Wagtail 7.3+).

Removals

  • Drop support for Wagtail 6.3 LTS and Wagtail 6.4 (both end-of-life).
  • Remove dead Django 1.x / 2.x try/except ImportError shim from wagtailinventory/tests/urls.py (all supported Django versions provide django.urls.include / re_path).
  • Remove the Framework :: Wagtail :: 6 classifier.

Changes

  • Raise wagtail minimum from >=6.2 to >=7.0 in pyproject.toml.
  • Update tox envlist:
    • python{3.12,3.13}-django5.2-wagtail7.0
    • python{3.12,3.13,3.14}-django{5.2,6.0}-wagtail{7.3,7.4}
  • Update GitHub Actions test matrix to include Python 3.14, with excludes for python: "3.14" + wagtail: "7.0" and the existing django: "6.0" + wagtail: "7.0".
  • Bump pre-commit hook versions: ruff-pre-commit v0.14.3 → v0.15.14, bandit 1.8.6 → 1.9.4.
  • Update README compatibility section to reflect new supported versions.
  • Update Unreleased section of CHANGELOG.md.

Testing

  1. Run tox -e lint.
  2. Run the full tox matrix locally or via CI — each Python × Django × Wagtail cell should pass all 14 tests.
  3. Spot-check Python 3.14 cells locally:
    • tox -e python3.14-django5.2-wagtail7.3
    • tox -e python3.14-django6.0-wagtail7.4
  4. Confirm tox -e interactive still boots the test app against Wagtail 7.4 / Django 5.2.

Screenshots

N/A — no UI changes.

Notes

  • Python 3.14 was released 2025-10-07 and is in bugfix support. Django 5.2 supports Python 3.14 from 5.2.8 onward; the Django>=5.2,<5.3 specifier resolves to a compatible patch.
  • Wagtail 7.0 LTS supports Python 3.9–3.13 only, so the matrix intentionally excludes Python 3.14 × Wagtail 7.0.
  • Django 5.2 must remain in the support range while Wagtail 7.0 LTS is supported, since Wagtail 7.0 does not support Django 6.0.

Todos

  • None outstanding.

Checklist

  • PR has an informative and human-readable title
  • Changes are limited to a single goal (no scope creep)
  • Code can be automatically merged (no conflicts)
  • Code follows the standards laid out in the development playbook
  • Passes all existing automated tests
  • Any change in functionality is tested
  • New functions are documented (with a description, list of inputs, and expected output) — N/A, no new functions
  • Placeholder code is flagged / future todos are captured in comments
  • Visually tested in supported browsers and devices (see checklist below 👇) — N/A, no UI changes
  • Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)
  • Reviewers requested with the Reviewers tool ➡️

Testing checklist

Browsers

  • Chrome
  • Firefox
  • Safari
  • Internet Explorer 8, 9, 10, and 11
  • Edge
  • iOS Safari
  • Chrome for Android

Accessibility

  • Keyboard friendly
  • Screen reader friendly

Other

  • Is useable without CSS
  • Is useable without JS
  • Flexible from small to large screens
  • No linting errors or warnings
  • JavaScript tests are passing

@nickmoreton nickmoreton changed the title Support/wagtail 74 maintenance Wagtail 7.4 maintenance May 28, 2026
@nickmoreton nickmoreton marked this pull request as ready for review May 28, 2026 13:39
@nickmoreton
Copy link
Copy Markdown
Contributor Author

#90 Could be closed now

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