Skip to content

Commit bb64476

Browse files
authored
Add Wagtail 4.1 support (#207)
1 parent 8861656 commit bb64476

File tree

3 files changed

+22
-3
lines changed

3 files changed

+22
-3
lines changed

.github/workflows/python-test.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,23 +27,29 @@ jobs:
2727
- py310-dj32-wt216
2828
- py310-dj32-wt30
2929
- py310-dj32-wt40
30+
- py310-dj32-wt41
3031
- py310-dj40-wt216
3132
- py310-dj40-wt30
3233
- py310-dj40-wt40
34+
- py310-dj40-wt41
3335
- py38-dj32-wt215
3436
- py38-dj32-wt216
3537
- py38-dj32-wt30
3638
- py38-dj32-wt40
39+
- py38-dj32-wt41
3740
- py38-dj40-wt216
3841
- py38-dj40-wt30
3942
- py38-dj40-wt40
43+
- py38-dj40-wt41
4044
- py39-dj32-wt215
4145
- py39-dj32-wt216
4246
- py39-dj32-wt30
4347
- py39-dj32-wt40
48+
- py39-dj32-wt41
4449
- py39-dj40-wt216
4550
- py39-dj40-wt30
4651
- py39-dj40-wt40
52+
- py39-dj40-wt41
4753
include:
4854
- python-version: 3.8
4955
tox_env: py38-dj32-wt215
@@ -53,12 +59,16 @@ jobs:
5359
tox_env: py38-dj32-wt30
5460
- python-version: 3.8
5561
tox_env: py38-dj32-wt40
62+
- python-version: 3.8
63+
tox_env: py38-dj32-wt41
5664
- python-version: 3.8
5765
tox_env: py38-dj40-wt216
5866
- python-version: 3.8
5967
tox_env: py38-dj40-wt30
6068
- python-version: 3.8
6169
tox_env: py38-dj40-wt40
70+
- python-version: 3.8
71+
tox_env: py38-dj40-wt41
6272
- python-version: 3.9
6373
tox_env: py39-dj32-wt215
6474
- python-version: 3.9
@@ -67,12 +77,16 @@ jobs:
6777
tox_env: py39-dj32-wt30
6878
- python-version: 3.9
6979
tox_env: py39-dj32-wt40
80+
- python-version: 3.9
81+
tox_env: py39-dj32-wt41
7082
- python-version: 3.9
7183
tox_env: py39-dj40-wt216
7284
- python-version: 3.9
7385
tox_env: py39-dj40-wt30
7486
- python-version: 3.9
7587
tox_env: py39-dj40-wt40
88+
- python-version: 3.9
89+
tox_env: py39-dj40-wt41
7690
- python-version: "3.10"
7791
tox_env: py310-dj32-wt215
7892
- python-version: "3.10"
@@ -81,12 +95,16 @@ jobs:
8195
tox_env: py310-dj32-wt30
8296
- python-version: "3.10"
8397
tox_env: py310-dj32-wt40
98+
- python-version: "3.10"
99+
tox_env: py310-dj32-wt41
84100
- python-version: "3.10"
85101
tox_env: py310-dj40-wt216
86102
- python-version: "3.10"
87103
tox_env: py310-dj40-wt30
88104
- python-version: "3.10"
89105
tox_env: py310-dj40-wt40
106+
- python-version: "3.10"
107+
tox_env: py310-dj40-wt41
90108
steps:
91109
- uses: actions/checkout@v2
92110
- name: Set up Python ${{ matrix.python-version }}

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919

2020
install_requires = [
21-
"wagtail>=2,<4.1",
21+
"wagtail>=2,<4.2",
2222
"Unidecode>=0.04.14,<2.0",
2323
]
2424

tox.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[tox]
22
envlist =
33
flake8
4-
py{38,39,310}-dj{32}-wt{215,216,30,40}
5-
py{38,39,310}-dj{40}-wt{216,30,40}
4+
py{38,39,310}-dj{32}-wt{215,216,30,40,41}
5+
py{38,39,310}-dj{40}-wt{216,30,40,41}
66

77
[gh-actions]
88
python =
@@ -21,6 +21,7 @@ deps =
2121
wt216: wagtail>=2.16,<2.17
2222
wt30: wagtail>=3.0,<4.0
2323
wt40: wagtail>=4.0,<4.1
24+
wt41: wagtail>=4.1,<4.2
2425

2526
commands =
2627
coverage run manage.py test

0 commit comments

Comments
 (0)