Skip to content

Wagtail 7.4 Maintenance - #12

Merged
nickmoreton merged 9 commits into
mainfrom
support/wagtail-74-maintenance
May 26, 2026
Merged

Wagtail 7.4 Maintenance#12
nickmoreton merged 9 commits into
mainfrom
support/wagtail-74-maintenance

Conversation

@nickmoreton

@nickmoreton nickmoreton commented May 1, 2026

Copy link
Copy Markdown
Contributor

Wagtail 7.4 LTS maintenance

Summary

  • Add Wagtail 7.4 LTS to the test matrix
  • Drop Wagtail 7.1 and 7.2 (both end-of-life upstream as of 2026-02-02 and 2026-05-04)
  • Keep coverage of Wagtail 7.0 LTS and 7.3 (still in security support)
  • Add the missing django42 + wagtail73 combination, and remove the invalid django51 + wagtail73 combinations the previous envlist produced (Wagtail 7.3 supports Django 4.2/5.2/6.0, not 5.1)
  • Drop Python 3.9 support; minimum is now Python 3.10
  • Restrict Django 6.0 envs to Wagtail 7.3+ (Wagtail 7.0 predates Django 6.0)
  • Fix developer tooling consistency: replace stale black/flake8/isort deps in [testenv:lint] with ruff==0.14.6, align ruff version across pyproject.toml and .pre-commit-config.yaml
  • Fix ruff.target-version from py313 to py310 (should reflect minimum supported Python, not developer Python)
  • Set USE_TZ = True in test settings to match Django 5.0+ default and silence RemovedInDjango50Warning on 4.2 runs
  • Remove deprecated default_app_config from birdbath/__init__.py

Resulting test matrix (30 envs)

Combinations match the official Wagtail / Django / Python compatibility table:

  • Wagtail 7.0 LTS: Django 4.2/5.1/5.2 with Python 3.10–3.13
  • Wagtail 7.3: Django 4.2/5.2/6.0 with Python 3.10–3.14
  • Wagtail 7.4 LTS: Django 5.2/6.0 with Python 3.10–3.14

Test plan

  • Full CI matrix green on push

🤖 Generated with Claude Code

@nickmoreton nickmoreton self-assigned this May 1, 2026
nickmoreton and others added 3 commits May 1, 2026 14:45
- tox.ini: drop Wagtail 5.x/6.x envs, add Wagtail 7.2, Django 6.0, Python 3.14
- pyproject.toml: add Python 3.14 classifier, bump wagtail dev dep to >=7.0
- test.yml: add Python 3.14 to CI matrix
- birdbath/__init__.py: remove deprecated default_app_config

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- tox [testenv:lint]: replace stale black/flake8/isort deps with ruff==0.14.6
- pyproject.toml: bump ruff pin from 0.6.9 to 0.14.6 to match installed version
- pyproject.toml: fix ruff target-version from py313 to py39 (library min, not dev Python)
- .pre-commit-config.yaml: bump ruff hook rev from v0.6.9 to v0.14.6

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Wagtail 7.2+ requires Python >=3.10; restrict wagtail72 envs to py310+.
Python 3.9 still covers Django 4.2 x Wagtail 7.0.

Also set USE_TZ=True in test settings to match Django 5.0+ default
and eliminate RemovedInDjango50Warning on Django 4.2 runs.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@nickmoreton
nickmoreton force-pushed the support/wagtail-74-maintenance branch from c454109 to 72937fb Compare May 1, 2026 13:46
nickmoreton and others added 2 commits May 1, 2026 14:49
Remove '3.9' from the GitHub Actions test matrix and update
ruff target-version from py39 to py310 to match the new
minimum supported Python version.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@nickmoreton
nickmoreton marked this pull request as draft May 1, 2026 13:57
nickmoreton and others added 2 commits May 1, 2026 14:58
Wagtail 7.0 predates Django 6.0 and is not compatible with it.
Only Wagtail 7.2+ supports Django 6.0.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Pairs wagtail73 with Django 5.1, 5.2, and 6.0 (same as wagtail72).
Not paired with Django 4.2 as Wagtail 7.3 dropped that support.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@nickmoreton nickmoreton changed the title Expand version support: Wagtail 7.x, Django 4.2–6.0, Python 3.9–3.14 Wagtail 7.4 Maintenance May 1, 2026
nickmoreton and others added 2 commits May 6, 2026 14:25
Rebuild the tox matrix to cover Wagtail 7.0 LTS, 7.3, and 7.4 LTS, and
fix invalid django51 + wagtail73 combinations the previous envlist
produced.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@nickmoreton
nickmoreton marked this pull request as ready for review May 26, 2026 10:15
@nickmoreton

Copy link
Copy Markdown
Contributor Author

This doesn't necessarily need a new release.

@nickmoreton
nickmoreton merged commit 6b637c0 into main May 26, 2026
6 checks passed
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.

2 participants