Skip to content

Commit 2969279

Browse files
authored
Merge pull request #43 from nm-packages/wagtail-72-maintenance
Wagtail 7.2 maintenance
2 parents 4c8cc5a + 77b1092 commit 2969279

6 files changed

Lines changed: 41 additions & 26 deletions

File tree

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
python: ["3.9", "3.10", "3.11", "3.12"]
18+
python: ["3.10", "3.11", "3.12", "3.13", "3.14"]
1919
database: ["sqlite"]
2020

2121
steps:
@@ -45,7 +45,7 @@ jobs:
4545
runs-on: ubuntu-latest
4646
strategy:
4747
matrix:
48-
python: ["3.12"]
48+
python: ["3.14"]
4949
database: ["postgres"]
5050

5151
services:
@@ -92,7 +92,7 @@ jobs:
9292
runs-on: ubuntu-latest
9393
strategy:
9494
matrix:
95-
python: ["3.12"]
95+
python: ["3.14"]
9696
database: ["mysql"]
9797

9898
services:

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
repos:
22
- repo: https://github.com/pycqa/isort
3-
rev: 6.0.1
3+
rev: 7.0.0
44
hooks:
55
- id: isort
66
- repo: https://github.com/psf/black
7-
rev: 25.1.0
7+
rev: 25.11.0
88
hooks:
99
- id: black
1010
- repo: https://github.com/pycqa/flake8
1111
rev: 7.3.0
1212
hooks:
1313
- id: flake8
1414
- repo: https://github.com/jackdewinter/pymarkdown
15-
rev: v0.9.32
15+
rev: v0.9.33
1616
hooks:
1717
- id: pymarkdown
1818
args:
1919
- --disable-rules
2020
- line-length
2121
- scan
2222
- repo: https://github.com/asottile/pyupgrade
23-
rev: v3.20.0
23+
rev: v3.21.1
2424
hooks:
2525
- id: pyupgrade
2626
- repo: https://github.com/adamchainz/django-upgrade
27-
rev: "1.27.0" # replace with latest tag on GitHub
27+
rev: "1.29.1" # replace with latest tag on GitHub
2828
hooks:
2929
- id: django-upgrade
30-
args: [--target-version, "5.0"] # Replace with Django version
30+
args: [--target-version, "5.2"] # Replace with Django version

CHANGELOG

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file.
33

44
## Unreleased
55

6+
- Add support for Python 3.13 and 3.14
7+
- Add support for Django 5.1 and 5.2
8+
- Add support for Wagtail 7.0, 7.1 and 7.2
9+
- Drop support for Python 3.9
10+
- Drop support for Django 5.0
11+
- Drop support for Wagtail 5.1 and 5.2
12+
- Update development dependencies
13+
614
## [1.2.0] - 2024-07-13
715

816
- Upgrade for Wagtail 6.1 & Django 5.0

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,9 @@ The field should be visibly hidden and not be available to receive any value fro
172172

173173
Wagtail honey pot can be used in environments:
174174

175-
- Python 3.9+
175+
- Python 3.10+
176176
- Django 4.2+
177-
- Wagtail 5.1+
177+
- Wagtail 6.3+
178178

179179
## Contributions
180180

pyproject.toml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,29 @@ classifiers = [
1313
"Operating System :: OS Independent",
1414
"Programming Language :: Python",
1515
"Programming Language :: Python :: 3",
16-
"Programming Language :: Python :: 3.9",
1716
"Programming Language :: Python :: 3.10",
1817
"Programming Language :: Python :: 3.11",
1918
"Programming Language :: Python :: 3.12",
19+
"Programming Language :: Python :: 3.13",
20+
"Programming Language :: Python :: 3.14",
2021
"Framework :: Django",
2122
"Framework :: Django :: 4.2",
22-
"Framework :: Django :: 5.0",
23+
"Framework :: Django :: 5.1",
24+
"Framework :: Django :: 5.2",
2325
"Framework :: Wagtail",
24-
"Framework :: Wagtail :: 5",
2526
"Framework :: Wagtail :: 6",
27+
"Framework :: Wagtail :: 7",
2628
]
27-
requires-python = ">=3.9"
29+
requires-python = ">=3.10"
2830
dependencies =[
29-
"Wagtail>=5.1",
31+
"Wagtail>=6.3",
3032
]
3133

3234
[project.optional-dependencies]
3335
development = [
34-
"black==24.4.2",
35-
"flake8==7.1.0",
36-
"isort==5.13.2",
36+
"black==25.11.0",
37+
"flake8==7.3.0",
38+
"isort==7.0.0",
3739
"django-upgrade",
3840
"pyupgrade",
3941
]

tox.ini

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,18 @@ usedevelop = True
44
isolated_build = True
55

66
envlist =
7-
py{39}-django{42}-wagtail{51,52}-sqlite
8-
py{310,311,312}-django{50}-wagtail{52}-sqlite
9-
py{312}-django{50}-wagtail{52}-{postgres,mysql}
7+
py{310,311,312}-django42-wagtail{63,70,71,72}-sqlite
8+
py{312,313}-django{51,52}-wagtail{70,71,72}-sqlite
9+
py314-django52-wagtail72-sqlite
10+
py314-django52-wagtail72-{postgres,mysql}
1011

1112
[gh-actions]
1213
python =
13-
3.9: py39
1414
3.10: py310
1515
3.11: py311
1616
3.12: py312
17+
3.13: py313
18+
3.14: py314
1719

1820
[gh-actions:env]
1921
DATABASE =
@@ -31,10 +33,13 @@ deps =
3133
coverage
3234

3335
django42: Django>=4.2,<5.0
34-
django50: Django>=5.0,<5.1
36+
django51: Django>=5.1,<5.2
37+
django52: Django>=5.2,<5.3
3538

36-
wagtail51: wagtail>=5.1,<5.2
37-
wagtail52: wagtail>=5.2,<5.3
39+
wagtail63: wagtail>=6.3,<6.4
40+
wagtail70: wagtail>=7.0,<7.1
41+
wagtail71: wagtail>=7.1,<7.2
42+
wagtail72: wagtail>=7.2,<7.3
3843

3944
postgres: psycopg2
4045
mysql: mysqlclient

0 commit comments

Comments
 (0)