Skip to content

Commit

Permalink
Update Django / Wagtail support matrix (#95)
Browse files Browse the repository at this point in the history
Drop unsupported versions and add what's fresh.
  • Loading branch information
Stormheg authored May 15, 2024
1 parent 75cb1be commit c24b317
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 16 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ If you want to send an encrypted email (optional), the public key ID for securit
## Supported Versions

- Python 3.8 - 3.12
- Django 3.2 - 4.2
- Wagtail >= 4.1
- Django 4.2 - 5.0
- Wagtail >= 5.2

We aim to support the Wagtail versions as [supported](http://docs.wagtail.org/en/latest/releases/upgrading.html) by Wagtail (current LTS, current stable).

Expand Down
2 changes: 1 addition & 1 deletion examples/aws/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
django
django-environ
wagtail>=4.2
wagtail>=5.2
git+https://github.com/wagtail-nest/wagtail-bakery.git#egg=wagtail-bakery
2 changes: 1 addition & 1 deletion examples/multisite/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
django
wagtail>=4.2
wagtail>=5.2
git+https://github.com/wagtail-nest/wagtail-bakery.git#egg=wagtail-bakery
2 changes: 1 addition & 1 deletion examples/site/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
django
wagtail>=4.2
wagtail>=5.2
git+https://github.com/wagtail/wagtail-bakery.git#egg=wagtail-bakery
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
'License :: OSI Approved :: MIT License',
'Framework :: Django',
'Framework :: Wagtail',
'Framework :: Wagtail :: 4',
'Framework :: Wagtail :: 5',
'Framework :: Wagtail :: 6',
'Operating System :: Unix',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
Expand Down
19 changes: 9 additions & 10 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,26 @@ linting_folders=src/wagtailbakery/ tests/ examples/

[tox]
envlist=
py{38,39,310,311}-django{32,40,41}-wagtail41 # Wagtail 4.1 LTS - all supported Python - all Django
py{38,39,310,311,312}-django{32,41,42}-wagtail{50,51,52} # Wagtail 5.0, 5.1 and 5.2 LTS - all supported Python - all Django
wagtailmain # Wagtail main latest compatible version
py{38,39,310,311}-django42-wagtail52 # Wagtail 5.2 LTS - all supported Pythons - supported Django
py{310,311,312}-django50-wagtail52 # Wagtail 5.2 LTS - All supported Pythons for Django 5.0
py{38,39,310,311,312}-django42-wagtail{60,61} # Wagtail 6.0 and 6.1 - all supported Python - supported Django
py{310,311,312}-django50-wagtail{60,61} # Wagtail 6.0 and 6.1 - all supported Python - supported Django
wagtailmain # Wagtail main latest compatible version

[testenv]
commands=py.test --cov=wagtailbakery --cov-report=xml {posargs}
deps=
django32: django>=3.2,<3.3
django40: django>=4.0,<4.1
django41: django>=4.1,<4.2
django42: django>=4.2,<5
wagtail41: wagtail>=4.1,<4.2 # Previous LTS
wagtail50: wagtail>=5.0,<5.1
wagtail51: wagtail>=5.1,<5.2
django50: django>=5.0,<5.1
wagtail52: wagtail>=5.2,<5.3 # Current LTS
wagtail60: wagtail>=6.0,<6.1
wagtail61: wagtail>=6.1,<6.2
extras=test

[testenv:wagtailmain]
commands=py.test --cov=wagtailbakery --cov-report=xml {posargs}
deps=
django>=4.2,<5
django>=5.0,<5.1
git+https://github.com/wagtail/wagtail.git@main#egg=Wagtail
extras=test

Expand Down

0 comments on commit c24b317

Please sign in to comment.