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

Wagtail 4.2 upgrade #117

Closed
wants to merge 3 commits into from
Closed

Conversation

katdom13
Copy link

@katdom13 katdom13 commented Feb 8, 2023

Release notes: https://docs.wagtail.org/en/stable/releases/4.2.html

  • Dropped support for Wagtail versions < 4.1
  • Code cleanup

Tests are OK

Found 14 test(s).
Creating test database for alias 'default'...
System check identified no issues (0 silenced).
..............
----------------------------------------------------------------------
Ran 14 tests in 0.130s

OK

Changes:
- Added: Add Wagtail 4 compability (@katdom13)
- Added: Add contribution documentation (@marteinn)
- Changed: Update StreamFieldPanel to just FieldPanel in tests (@katdom13)
- Changed: Update StreamFields to have additional argument use_json_field in test (@katdom13)
- Changed: Rename wagtailgeowidget.edit_handlers to wagtailgeowidget.panels (@katdom13)
- Changed: Update imports in docs (@katdom13)
- Fixed: Ensure setup() is only called after user focus if showEmptyLocation is true (@kleingeist)
- Fixed: Add support for permissions on field panels (@unicode-it)
@katdom13 katdom13 force-pushed the support/wagtail-4.2-support branch 2 times, most recently from 8fce021 to b13ced1 Compare February 8, 2023 06:50
@marteinn
Copy link
Member

marteinn commented Feb 8, 2023

Hi @katdom13 and thanks for the PR! Sadly I cant accept this PR as it removes support for Wagtail 4.1, the thing is that Wagtail 2.15 is still supported until 2023-09-05 (https://endoflife.date/wagtail) and we want to keep supporting the maintained Wagtail versions. Another thing, please base your PR on the develop branch, we use git-flow on this project (sorry if that's unclear).

@katdom13
Copy link
Author

katdom13 commented Feb 8, 2023

Hi @katdom13 and thanks for the PR! Sadly I cant accept this PR as it removes support for Wagtail 4.1, the thing is that Wagtail 2.15 is still supported until 2023-09-05 (https://endoflife.date/wagtail) and we want to keep supporting the maintained Wagtail versions. Another thing, please base your PR on the develop branch, we use git-flow on this project (sorry if that's unclear).

Hi @marteinn ,
I have rebased off of develop and I can see that you've already added a pre-release version of Wagtail 4.2 prior to this PR.

This PR aimed to drop support for Wagtail < 4.1, but if you still want 2.15 to be supported, I reverted those code cleanup changes, and nothing much is left.

With that, I just ran some linters and changed the Wagtail 4.2rc1 to 4.2.

Thank you!

@marteinn
Copy link
Member

Hi @katdom13, I checked your latest changes and they seems to include my CI version bump and a code formatting in migrations (I recommend against linting/formatting as they are generated through Django, it's better to let Django own those) . Since this PR has changed a lot since the original I think we should do this, revert back to the old PR and lets resume this work once Wagtail 2.15 goes EOL. How does that sound?

@victoriachan
Copy link

victoriachan commented Apr 12, 2023

Hi @marteinn, I'm wondering if this can go forward. According to the link you mentioned, both active and security support for Wagtail 2.15 ended on 01 Feb 2023. The only actively support versions (as of today) are 4.1 LTS and 4.2.

So perhaps we can remove support for the EOL wagtail versions, and clean up the code a bit. Though when I tested on my project 7.0.0 does work with wagtail 4.2.2.

@marteinn
Copy link
Member

Hi @victoriachan! I agree, it's time that we drop Wagtail < 4.1 support as those are EOL. Can you adjust your previous PR to include those changes? Thanks!

@marteinn
Copy link
Member

Wagtail < 4.1 support has been dropped in https://github.com/Frojd/wagtail-geo-widget/releases/tag/v8.0.0, closing PR.

@marteinn marteinn closed this May 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants