From bb644763fb0da8c85b9fc63f6f2d58a3a440fd76 Mon Sep 17 00:00:00 2001 From: Leon Graumans Date: Fri, 9 Dec 2022 09:40:42 +0100 Subject: [PATCH] Add Wagtail 4.1 support (#207) --- .github/workflows/python-test.yml | 18 ++++++++++++++++++ setup.py | 2 +- tox.ini | 5 +++-- 3 files changed, 22 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index a2847199..21c00475 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -27,23 +27,29 @@ jobs: - py310-dj32-wt216 - py310-dj32-wt30 - py310-dj32-wt40 + - py310-dj32-wt41 - py310-dj40-wt216 - py310-dj40-wt30 - py310-dj40-wt40 + - py310-dj40-wt41 - py38-dj32-wt215 - py38-dj32-wt216 - py38-dj32-wt30 - py38-dj32-wt40 + - py38-dj32-wt41 - py38-dj40-wt216 - py38-dj40-wt30 - py38-dj40-wt40 + - py38-dj40-wt41 - py39-dj32-wt215 - py39-dj32-wt216 - py39-dj32-wt30 - py39-dj32-wt40 + - py39-dj32-wt41 - py39-dj40-wt216 - py39-dj40-wt30 - py39-dj40-wt40 + - py39-dj40-wt41 include: - python-version: 3.8 tox_env: py38-dj32-wt215 @@ -53,12 +59,16 @@ jobs: tox_env: py38-dj32-wt30 - python-version: 3.8 tox_env: py38-dj32-wt40 + - python-version: 3.8 + tox_env: py38-dj32-wt41 - python-version: 3.8 tox_env: py38-dj40-wt216 - python-version: 3.8 tox_env: py38-dj40-wt30 - python-version: 3.8 tox_env: py38-dj40-wt40 + - python-version: 3.8 + tox_env: py38-dj40-wt41 - python-version: 3.9 tox_env: py39-dj32-wt215 - python-version: 3.9 @@ -67,12 +77,16 @@ jobs: tox_env: py39-dj32-wt30 - python-version: 3.9 tox_env: py39-dj32-wt40 + - python-version: 3.9 + tox_env: py39-dj32-wt41 - python-version: 3.9 tox_env: py39-dj40-wt216 - python-version: 3.9 tox_env: py39-dj40-wt30 - python-version: 3.9 tox_env: py39-dj40-wt40 + - python-version: 3.9 + tox_env: py39-dj40-wt41 - python-version: "3.10" tox_env: py310-dj32-wt215 - python-version: "3.10" @@ -81,12 +95,16 @@ jobs: tox_env: py310-dj32-wt30 - python-version: "3.10" tox_env: py310-dj32-wt40 + - python-version: "3.10" + tox_env: py310-dj32-wt41 - python-version: "3.10" tox_env: py310-dj40-wt216 - python-version: "3.10" tox_env: py310-dj40-wt30 - python-version: "3.10" tox_env: py310-dj40-wt40 + - python-version: "3.10" + tox_env: py310-dj40-wt41 steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} diff --git a/setup.py b/setup.py index df3e4b5a..49b5ec43 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ install_requires = [ - "wagtail>=2,<4.1", + "wagtail>=2,<4.2", "Unidecode>=0.04.14,<2.0", ] diff --git a/tox.ini b/tox.ini index eb708cdc..5826d425 100644 --- a/tox.ini +++ b/tox.ini @@ -1,8 +1,8 @@ [tox] envlist = flake8 - py{38,39,310}-dj{32}-wt{215,216,30,40} - py{38,39,310}-dj{40}-wt{216,30,40} + py{38,39,310}-dj{32}-wt{215,216,30,40,41} + py{38,39,310}-dj{40}-wt{216,30,40,41} [gh-actions] python = @@ -21,6 +21,7 @@ deps = wt216: wagtail>=2.16,<2.17 wt30: wagtail>=3.0,<4.0 wt40: wagtail>=4.0,<4.1 + wt41: wagtail>=4.1,<4.2 commands = coverage run manage.py test