-
Notifications
You must be signed in to change notification settings - Fork 8
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
Wagtail 5 support #59
Changes from 4 commits
1d9f47e
17dfbb3
7fb12c1
6f9e8eb
1b400a2
bfdd6f3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -3,14 +3,12 @@ skipsdist = True | |||||||||
usedevelop = True | ||||||||||
|
||||||||||
envlist = | ||||||||||
python{3.7}-django{3.2}-wagtail{4.1,4.2,master}-{sqlite,postgres} | ||||||||||
python{3.8,3.9,3.10}-django{3.2}-wagtail{4.1,4.2,master}-{sqlite,postgres} | ||||||||||
python{3.8,3.9,3.10}-django{4.0,4.1}-wagtail{4.1,4.2,master}-{sqlite,postgres} | ||||||||||
python{3.11}-django{4.1}-wagtail{4.1,4.2,master}-{sqlite,postgres} | ||||||||||
python{3.8,3.9,3.10}-django3.2-wagtail{4.1,4.2,5.0,5.1,main}-{sqlite,postgres} | ||||||||||
python{3.8,3.9,3.10,3.11}-django4.1-wagtail{4.1,4.2,5.0,5.1,main}-{sqlite,postgres} | ||||||||||
python{3.8,3.9,3.10,3.11}-django4.2-wagtail{5.0,5.1,main}-{sqlite,postgres} | ||||||||||
|
||||||||||
[gh-actions] | ||||||||||
python = | ||||||||||
3.7: python3.7 | ||||||||||
3.8: python3.8 | ||||||||||
3.9: python3.9 | ||||||||||
3.10: python3.10 | ||||||||||
|
@@ -36,15 +34,16 @@ deps = | |||||||||
django3.2: Django>=3.2,<3.3 | ||||||||||
django4.0: Django>=4.0,<4.1 | ||||||||||
django4.1: Django>=4.1,<4.2 | ||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed in 92e62bd There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nitpick - the commit message says 4.1 (which isn't EOL yet as it's an LTS release), although it is indeed removing 4.2. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks, reworded. |
||||||||||
djangomaster: git+https://github.com/django/django.git@master#egg=Django | ||||||||||
|
||||||||||
wagtail4.1: wagtail>=4.1,<4.2 | ||||||||||
wagtail4.2: wagtail>=4.1,<5.0 | ||||||||||
wagtailmaster: git+https://github.com/wagtail/wagtail.git | ||||||||||
wagtail5.0: wagtail>=5.0,<5.1 | ||||||||||
wagtail5.1: wagtail>=5.1,<5.2 | ||||||||||
wagtailmain: git+https://github.com/wagtail/wagtail.git | ||||||||||
|
||||||||||
postgres: psycopg2 | ||||||||||
|
||||||||||
[testenv:flake8] | ||||||||||
basepython=python3.7 | ||||||||||
basepython=python3.8 | ||||||||||
deps=flake8>=2.2.0 | ||||||||||
commands=flake8 wagtail_content_import |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,8 @@ | |
def confirm_dialog(request): | ||
return render_modal_workflow( | ||
request, | ||
'wagtail_content_import/confirm_dialog.html', | ||
None, | ||
{}, | ||
html_template='wagtail_content_import/confirm_dialog.html', | ||
js_template=None, | ||
template_vars={}, | ||
Comment on lines
+7
to
+9
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unrelated change, just improves readability. |
||
json_data={'step': 'dialog'} | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion: drop Wagtail 4.2 as it has EOLed - https://endoflife.date/wagtail. This will simplify the matrix considerably
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, reshuffled this a bit in f45bfef, it's a little easier on the eyes/brain.