Wagtail 7.4 Maintenance#32
Open
nickmoreton wants to merge 2 commits into
Open
Conversation
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>
Collaborator
Author
|
We won't need #31 once this is merged |
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
setup.cfgsosetup.pyis the single source of packaging metadata.wagtail.core.middleware.SiteMiddleware→wagtail.middleware.SiteMiddlewarein the test settings (the namespace was removed in Wagtail 5, which made the test suite unimportable on every in-range Wagtail version).python -m buildand bumpcodecov-action@v5.Pre-commit hook changes
black25.1.0 → 26.5.1 (one minor reformat inmake_up.py),isort6.0.1 → 8.0.1,flake87.1.2 → 7.3.0.blackfrom the legacygithub.com/python/blackmirror to the canonicalgithub.com/psf/blackrepository.pre-commit/mirrors-prettierhook (the repo is archived, the pinv2.3.2is from 2021, and the package ships no JS/CSS/Markdown that needs formatting).awebdeveloper/pre-commit-stylelinthook (pinned to a 2019 SHA withstylelint@10.1.0andstylelint-config-torchbox@0.5.0; the package has no stylesheets so the hook had nothing to check).default_language_version.nodepin (no Node hooks remain) and bumped the Python pin frompython3.12topython3.13.Test plan
pre-commit run --all-filespassestox -e py312-dj52-wt70passes (oldest supported corner)tox -e py313-dj60-wt74passes (newest supported corner)🤖 Generated with Claude Code