Skip to content

Commit 306b203

Browse files
committed
Adjust the testing around Wagtail 7.0+ and Python 3.14
Drop support for Python 3.9 and Wagtail 6.3 Revise testing dependencies to support Python 3.14 Use newer versions of GitHub Actions
1 parent a022efc commit 306b203

File tree

3 files changed

+16
-17
lines changed

3 files changed

+16
-17
lines changed

.github/workflows/test.yml

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

2020
steps:
2121
- name: Checkout repository
22-
uses: actions/checkout@v3
22+
uses: actions/checkout@v5
2323

2424
- name: Set up Python
2525
id: setup-python
26-
uses: actions/setup-python@v4
26+
uses: actions/setup-python@v6
2727
with:
2828
python-version: ${{ matrix.python }}
2929

setup.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
# Testing dependencies
1616
testing_extras = [
1717
# Required for running the tests
18-
"tox>=4.18.1,<4.19",
18+
"tox>=4.32.0,<5",
1919
# For coverage and PEP8 linting
20-
"coverage>=6.5.0,<6.6",
21-
"flake8>=7.0.0,<7.1",
22-
"isort>=5.10.1",
20+
"coverage>=7.11.3,<7.12",
21+
"flake8>=7.3.0,<7.4",
22+
"isort>=7.0.0,<8",
2323
# For test site
24-
"wagtail>=6.3",
24+
"wagtail>=7.0",
2525
]
2626

2727
# Documentation dependencies
@@ -46,11 +46,11 @@
4646
"Operating System :: OS Independent",
4747
"Programming Language :: Python",
4848
"Programming Language :: Python :: 3",
49-
"Programming Language :: Python :: 3.9",
5049
"Programming Language :: Python :: 3.10",
5150
"Programming Language :: Python :: 3.11",
5251
"Programming Language :: Python :: 3.12",
5352
"Programming Language :: Python :: 3.13",
53+
"Programming Language :: Python :: 3.14",
5454
"Framework :: Django",
5555
"Framework :: Django :: 4.2",
5656
"Framework :: Django :: 5.1",
@@ -61,7 +61,7 @@
6161
"Topic :: Internet :: WWW/HTTP",
6262
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
6363
],
64-
install_requires=["django-recaptcha>=4", "wagtail>=6.3"],
64+
install_requires=["django-recaptcha>=4", "wagtail>=7.0"],
6565
extras_require={
6666
"testing": testing_extras,
6767
"docs": documentation_extras,

tox.ini

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,27 @@
77
skipsdist = True
88
usedevelop = True
99
envlist =
10-
py{39}-dj42-wt{63,70,71}-dr4
11-
py{310,311,312,313}-dj{51,52}-wt{63,70,71}-dr4
10+
py{310,311,312}-dj42-wt{70,72}-dr4
11+
py{310,311,312,313}-dj{51,52}-wt{70,72}-dr4
12+
py314-dj52-wt{70,72}-dr4
1213

1314
[testenv]
1415
install_command = pip install -e ".[testing]" -U {opts} {packages}
1516
allowlist_externals =
1617
make
1718

1819
basepython =
19-
py39: python3.9
2020
py310: python3.10
2121
py311: python3.11
2222
py312: python3.12
2323
py313: python3.13
24-
24+
py314: python3.14
2525
deps =
2626
dj42: Django>=4.2,<4.3
2727
dj51: Django>=5.1,<5.2
2828
dj52: Django>=5.2,<5.3
29-
wt63: wagtail>=6.3,<6.4
3029
wt70: wagtail>=7.0,<7.1
31-
wt71: wagtail>=7.1,<7.2
30+
wt72: wagtail>=7.2,<7.3
3231
dr4: django_recaptcha>=4.0.0,<5.0.0
3332

3433
commands =
@@ -37,8 +36,8 @@ commands =
3736

3837
[gh-actions]
3938
python =
40-
3.9: py39
4139
3.10: py310
4240
3.11: py311
4341
3.12: py312
4442
3.13: py313
43+
3.14: py314

0 commit comments

Comments
 (0)