Skip to content

Conversation

@nickmoreton
Copy link
Contributor

@nickmoreton nickmoreton commented Nov 12, 2025

This pull request updates the project's Python and dependency support to include the latest versions, and aligns the testing and development tooling accordingly. The main changes focus on adding support for Python 3.14, updating Wagtail requirements to version 7.x, and ensuring all testing environments and pre-commit hooks use the latest compatible versions.

Python and Dependency Version Support

  • Added support for Python 3.14 across configuration files (.pre-commit-config.yaml, pyproject.toml, tox.ini) and removed Python 3.9 from supported versions. Updated the classifiers and test environments to reflect this change.
  • Updated required Wagtail version to >=7.0 and removed support for Wagtail 6.x in both dependencies and test matrix.
  • Updated Django and Wagtail test matrix to include new combinations for Django 5.1/5.2 and Wagtail 7.0/7.1/7.2, and added corresponding dependency constraints.

Tooling and Testing Updates

  • Bumped versions for testing and development tools: pre-commit, tox, coverage, and wagtail-modeladmin in pyproject.toml
  • Updated ruff-pre-commit hook version in .pre-commit-config.yaml
  • Set skipmissing_interpreters = true in tox.ini to allow tests to pass even if some Python interpreters are not installed locally.

Drop support for Wagtail 6.3 and Python 3.9
Add python3.14 to tox and pre-commit configs
Drop testing against python 3.9
@nickmoreton nickmoreton marked this pull request as ready for review November 12, 2025 11:17
Comment on lines +6 to +8
python{3.10,3.11,3.12}-django4.2-wagtail{7.0,7.1,7.2}
python{3.10,3.11,3.12,3.13}-django{5.1,5.2}-wagtail{7.0,7.1,7.2}
python3.14-django5.2-wagtail{7.0,7.1,7.2}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about

Suggested change
python{3.10,3.11,3.12}-django4.2-wagtail{7.0,7.1,7.2}
python{3.10,3.11,3.12,3.13}-django{5.1,5.2}-wagtail{7.0,7.1,7.2}
python3.14-django5.2-wagtail{7.0,7.1,7.2}
python{3.10,3.11}-django4.2-wagtail{7.1}
python{3.12,3.13}-django{5.1,5.2}-wagtail{7.0,7.2}
python3.14-django5.2-wagtail{7.2}

smaller test matrix, but still covers what we need

requires-python = ">=3.9"
dependencies = [
"Wagtail>=6.3",
"Wagtail>=7.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm in two minds about this. 6.3 as an LTS is supported untill May 2026.
At the same time, it would be nice to push folks to move to at least 7.0

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