Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop Django <4.2 and Wagtail <5.2, add support for latest versions #95

Merged
merged 1 commit into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading