Wagtail 7.4 maintenance#56
Open
nickmoreton wants to merge 2 commits into
Open
Conversation
…Wagtail 7.0/7.3/7.4 Declare the new support window across setup.py classifiers, python_requires, tox env list, and the GitHub Actions test matrix. Restricts each Wagtail release to the Django/Python versions it actually supports (Wagtail 7.0 only with Django 5.2; Django 6.0 only on Python 3.12+). Also drop USE_L10N from the test settings (removed in Django 5.0) and set DEFAULT_AUTO_FIELD explicitly. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Bump coverage, flake8, flake8-colors, isort, and tox testing extras to current versions. Pin Django/wagtail floors in the testing extras so the test app installs a usable runtime by default. Drop the obsolete --recursive flag from the isort call in make lint; isort 5+ auto-recurses and removed the flag. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Modernizes the supported version matrix and refreshes dev tooling.
New support window:
Dropped: Python 3.9, Django 4.2 / 5.1.
Production changes
setup.py: addedpython_requires=">=3.10", refreshed Python classifiers (3.10–3.14), addedFramework :: Django :: 5.2/6.0andFramework :: Wagtail :: 7classifiers.tox.ini: env list rewritten to cover only legal combinations of each Wagtail release with its supported Django/Python versions..github/workflows/test.yml: matrix rewritten the same way. Wagtail 7.0 is tested only with Django 5.2 (7.0 doesn't support 6.0); Django 6.0 is tested only on Python 3.12+; Python 3.14 × Django 5.2 is pinned to>=5.2.8.tests/testapp/testapp/settings.py: removedUSE_L10N(removed in Django 5.0); added explicitDEFAULT_AUTO_FIELD.CHANGELOG.md: Unreleased entry covering added/removed/changed versions.Dev dependency changes
setup.pytesting extras: bumpedcoverage,flake8,flake8-colors,isort,toxto current versions; pinnedDjango>=5.2,<6.1andwagtail>=7.0,<7.5floors for the test app.Makefile: removed obsoleteisort --recursiveflag (incompatible with isort ≥ 5).Test plan
make lintpasses locally with refreshedisort/flake8tox -e py313-dj52-wt74(or any single env) resolves and tests pass🤖 Generated with Claude Code