Skip to content

Commit

Permalink
Add support for Wagtail 4.1
Browse files Browse the repository at this point in the history
This commit adds support for Wagtail 4.1 and adds it to the testing
matrix for tox and GitHub Actions.
  • Loading branch information
chosak committed Nov 10, 2022
1 parent 30ee26f commit 279330d
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 7 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
matrix:
python: ['3.8', '3.10']
django: ['3.2']
wagtail: ['2.15','3.0','4.0']
wagtail: ['2.15','3.0','4.0','4.1']
include:
- python: '3.8'
django: '4.0'
Expand All @@ -44,15 +44,27 @@ jobs:
- python: '3.8'
django: '4.0'
wagtail: '4.0'
- python: '3.8'
django: '4.0'
wagtail: '4.1'
- python: '3.10'
django: '4.0'
wagtail: '4.0'
- python: '3.10'
django: '4.0'
wagtail: '4.1'
- python: '3.8'
django: '4.1'
wagtail: '4.0'
- python: '3.8'
django: '4.1'
wagtail: '4.1'
- python: '3.10'
django: '4.1'
wagtail: '4.0'
- python: '3.10'
django: '4.1'
wagtail: '4.1'

steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ Compatibility

This code has been tested for compatibility with:

* Python 3.6+
* Python 3.8+
* Django 3.2 (LTS), 4.0, 4.1
* Wagtail 2.15 (LTS), 3.0, 4.0
* Wagtail 2.15 (LTS), 3.0, 4.0, 4.1 (LTS)

It should be compatible with all intermediate versions, as well.
If you find that it is not, please `file an issue <https://github.com/cfpb/wagtail-inventory/issues/new>`_.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

install_requires = [
"tqdm>=4.15.0,<5",
"wagtail>=2.15,<4.1",
"wagtail>=2.15,<4.2",
]


Expand Down
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
skipsdist=True
envlist=
lint,
python{3.8,3.10}-django{3.2}-wagtail{2.15,3.0,4.0}
python{3.8,3.10}-django{4.0}-wagtail{3.0,4.0}
python{3.8,3.10}-django{4.1}-wagtail{4.0}
python{3.8,3.10}-django{3.2}-wagtail{2.15,3.0,4.0,4.1}
python{3.8,3.10}-django{4.0}-wagtail{3.0,4.0,4.1}
python{3.8,3.10}-django{4.1}-wagtail{4.0,4.1}

[testenv]
install_command=pip install -e ".[testing]" -U {opts} {packages}
Expand All @@ -25,6 +25,7 @@ deps=
wagtail2.15: wagtail>=2.15,<2.16
wagtail3.0: wagtail>=3.0,<3.1
wagtail4.0: wagtail>=4.0,<4.1
wagtail4.1: wagtail>=4.1,<4.2

[testenv:lint]
basepython=python3.8
Expand Down

0 comments on commit 279330d

Please sign in to comment.