Skip to content

Commit be3276d

Browse files
authored
Update testing for Wagtail 6.3 (#67)
* Add Wagtail 6.3, Django 5.1, Python 3.13 to the test matrix * Drop Python 3.8
1 parent a0f01c6 commit be3276d

File tree

5 files changed

+20
-12
lines changed

5 files changed

+20
-12
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
- uses: actions/setup-python@v5
1818
with:
19-
python-version: '3.11'
19+
python-version: '3.13'
2020
cache: "pip"
2121
cache-dependency-path: "**/pyproject.toml"
2222

.github/workflows/test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ env:
1818
TOX_TESTENV_PASSENV: FORCE_COLOR
1919
PIP_DISABLE_PIP_VERSION_CHECK: "1"
2020
PIP_NO_PYTHON_VERSION_WARNING: "1"
21-
PYTHON_LATEST: "3.12"
21+
PYTHON_LATEST: "3.13"
2222

2323
jobs:
2424
tests:
@@ -27,7 +27,7 @@ jobs:
2727

2828
strategy:
2929
matrix:
30-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
30+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
3131

3232
steps:
3333
- uses: actions/checkout@v4
@@ -67,6 +67,7 @@ jobs:
6767
name: coverage-data-${{ matrix.python-version }}
6868
path: .coverage.*
6969
if-no-files-found: ignore
70+
include-hidden-files: true
7071
retention-days: 1
7172

7273
coverage:

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
- Add tox testing for Django 5.1 and Wagtail 6.2 + 6.3
11+
- Drop testing for Python 3.8
12+
1013
## [0.8] - 2024-02-23
1114

1215
### Changed

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,15 @@ classifiers = [
1313
"License :: OSI Approved :: BSD License",
1414
"Programming Language :: Python",
1515
"Programming Language :: Python :: 3",
16-
"Programming Language :: Python :: 3.8",
1716
"Programming Language :: Python :: 3.9",
1817
"Programming Language :: Python :: 3.10",
1918
"Programming Language :: Python :: 3.11",
2019
"Programming Language :: Python :: 3.12",
20+
"Programming Language :: Python :: 3.13",
2121
"Framework :: Django",
2222
"Framework :: Django :: 4.2",
2323
"Framework :: Django :: 5.0",
24+
"Framework :: Django :: 5.1",
2425
"Framework :: Wagtail",
2526
"Framework :: Wagtail :: 5",
2627
"Framework :: Wagtail :: 6",
@@ -29,7 +30,7 @@ classifiers = [
2930
]
3031

3132
dynamic = ["version"]
32-
requires-python = ">=3.8"
33+
requires-python = ">=3.9"
3334
dependencies = ["Wagtail>=5.2"]
3435

3536
[project.optional-dependencies]

tox.ini

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@
22
min_version = 4.11
33

44
env_list =
5-
python{3.8,3.9,3.10,3.11}-django4.2-wagtail{5.2,6.0,6.1}
6-
python{3.10,3.11,3.12}-django5.0-wagtail{5.2,6.0,6.1}
5+
python{3.9,3.10,3.11}-django4.2-wagtail{5.2,6.2,6.3}
6+
python{3.10,3.11,3.12}-django5.0-wagtail{5.2,6.2,6.3}
7+
python{3.12,3.13}-django5.1-wagtail6.3
78

89
[gh-actions]
910
python =
10-
3.8: python3.8
1111
3.9: python3.9
1212
3.10: python3.10
1313
3.11: python3.11
1414
3.12: python3.12
15+
3.13: python3.13
1516

1617
[testenv]
1718
package = wheel
@@ -33,16 +34,18 @@ extras = testing
3334
deps =
3435
django4.2: Django>=4.2, <5.0
3536
django5.0: Django>=5.0, <5.1
37+
django5.1: Django>=5.1, <5.2
3638

3739
wagtail5.2: wagtail>=5.2, <6.0
38-
wagtail6.0: wagtail>=6.0, <6.1
40+
wagtail6.2: wagtail>=6.2, <6.3
41+
wagtail6.3: wagtail>=6.3, <6.4
3942

4043
install_command = python -Im pip install -U {opts} {packages}
4144
commands =
4245
python -Im coverage run runtests.py test --deprecation all {posargs: -v 2}
4346

4447
[testenv:coverage-report]
45-
base_python = python3.12
48+
base_python = python3.13
4649
package = skip
4750
deps =
4851
coverage>=7.0,<8.0
@@ -52,14 +55,14 @@ commands =
5255

5356
[testenv:wagtailmain]
5457
description = Test with latest Wagtail main branch
55-
base_python = python3.12
58+
base_python = python3.13
5659
deps =
5760
wagtailmain: git+https://github.com/wagtail/wagtail.git@main#egg=Wagtail
5861

5962
[testenv:interactive]
6063
package = editable
6164
description = An interactive environment for local testing purposes
62-
base_python = python3.12
65+
base_python = python3.13
6366

6467
commands_pre =
6568
python {toxinidir}/manage.py makemigrations

0 commit comments

Comments
 (0)