Skip to content

Commit b4fe246

Browse files
authored
Wagtail 7.0 Maintenance (#5)
* Update the tox configuration to use Wagtail 7.0 and Django 5.2 * Add wagtail 6.3 back into tox testing * Change the Python version in the GitHub Actions workflow to 3.13 * Modify the django and wagtail dependencies to be >=4.2 and >=5.2 respectively Also update the target version for ruff to py313 * Update chnagelog
1 parent af3ec39 commit b4fe246

File tree

4 files changed

+14
-9
lines changed

4 files changed

+14
-9
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
- uses: actions/checkout@v4
2323
with:
2424
fetch-depth: 0
25-
- name: Set up Python 3.12
25+
- name: Set up Python 3.13
2626
uses: actions/setup-python@v5
2727
with:
28-
python-version: '3.12'
28+
python-version: '3.13'
2929
- uses: pre-commit/action@v3.0.1
3030

3131
test:

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# CHANGELOG
22

3+
## Unreleased
4+
5+
- Add testing for Wagtail 6.3 & 7.0
6+
- Use python 3.13 across workflows and formatting
7+
38
## v2.0.1 (2024-10-22)
49

510
- Add tests

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ Home = "https://github.com/torchbox/django-birdbath"
2929

3030
[project.optional-dependencies]
3131
dev = [
32-
"django~=4.2",
32+
"django>=4.2",
3333
"pre-commit>=3.8.0",
3434
"pytest~=8.3",
3535
"pytest-django~=4.9",
3636
"ruff==0.6.9",
37-
"wagtail~=5.2",
37+
"wagtail>=5.2",
3838
]
3939

4040
[tool.flit.module]
@@ -44,7 +44,7 @@ name = "birdbath"
4444
include = ["LICENSE", "CHANGELOG.md", "README.md"]
4545

4646
[tool.ruff]
47-
target-version = "py39"
47+
target-version = "py313"
4848

4949
exclude = [
5050
".github",

tox.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[tox]
22
envlist =
33
# Django versions with their respectively supported Python versions and the most recent Wagtail LTS
4-
py{39,310,311,312,313}-django42-wagtail62
5-
py{310,311,312,313}-django{50,51}-wagtail62
4+
py{39,310,311,312}-django42-wagtail{63,70}
5+
py{310,311,312,313}-django{51,52}-wagtail{63,70}
66
# Old Wagtail versions with the oldest Django LTS and Python
77
py39-django42-wagtail52
88
isolated_build = True
@@ -18,10 +18,10 @@ python =
1818
[testenv]
1919
deps =
2020
django42: Django>=4.2,<5.0
21-
django50: Django>=5.0,<5.1
2221
django51: Django>=5.1,<5.2
22+
django52: Django>=5.2,<5.3
2323
wagtail52: wagtail>=5.2,<5.3
24-
wagtail62: wagtail>=6.2,<6.3
24+
wagtail70: wagtail>=7.0,<7.1
2525
pytest
2626
pytest-django
2727
extras = dev

0 commit comments

Comments
 (0)