Skip to content

Commit

Permalink
Merge pull request #86 from torchbox-forks/support/wagtail-63
Browse files Browse the repository at this point in the history
Wagtail 6.3 testing Update
  • Loading branch information
chosak authored Nov 20, 2024
2 parents 8d75299 + 69bd651 commit 4bb9e32
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ jobs:
- python: '3.8'
django: '4.2'
wagtail: '6.2'
- python: '3.12'
django: '5.1'
wagtail: '6.3'

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ Compatibility
This code has been tested for compatibility with:

* Python 3.8, 3.12
* Django 4.2 (LTS), 5.0
* Wagtail 6.2
* Django 4.2 (LTS), 5.0, 5.1
* Wagtail 6.2, 6.3 (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
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ classifiers = [
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.1",
"Framework :: Wagtail",
"Framework :: Wagtail :: 6",
"License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication",
Expand Down
7 changes: 5 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ skipsdist=True
envlist=
lint,
python3.8-django{4.2}-wagtail{6.2}
python3.12-django{4.2,5.0}-wagtail{6.2}
python3.12-django{4.2,5.0}-wagtail{6.2,6.3}
python3.12-django5.1-wagtail6.3
coverage

[testenv]
Expand All @@ -18,7 +19,9 @@ basepython=
deps=
django4.2: Django>=4.2,<4.3
django5.0: Django>=5.0,<5.1
django5.1: Django>=5.1,<5.2
wagtail6.2: wagtail>=6.2,<6.3
wagtail6.3: wagtail>=6.3,<6.4

[testenv:lint]
basepython=python3.12
Expand All @@ -44,7 +47,7 @@ commands=
[testenv:interactive]
basepython=python3.12
deps=
Django>=5.0,<5.1
Django>=5.0,<5.2

commands_pre=
python {toxinidir}/testmanage.py makemigrations
Expand Down
2 changes: 1 addition & 1 deletion wagtailinventory/tests/test_wagtail_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def test_menu_item(self):
self.assertFalse(item.is_shown(insufficient_permissions_request))

def test_register_permissions(self):
self.assertQuerysetEqual(
self.assertQuerySetEqual(
register_permissions(),
Permission.objects.filter(
content_type__app_label="wagtailinventory",
Expand Down

0 comments on commit 4bb9e32

Please sign in to comment.