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

Upgrade to Wagtail 6.0 #8366

Merged
merged 5 commits into from May 6, 2024
Merged

Upgrade to Wagtail 6.0 #8366

merged 5 commits into from May 6, 2024

Conversation

willbarton
Copy link
Member

@willbarton willbarton commented May 1, 2024

This PR upgrades us to Wagtail 6.0.2

There is one deprecation warning:

wagtail/utils/widgets.py:10: RemovedInWagtail70Warning: The usage of `WidgetWithScript` hook is deprecated. Use external scripts instead.

that we cannot fix yet: this comes from wagtail-autocomplete, and is fixed in wagtail/wagtail-autocomplete#180 which has yet to be merged and released.

Checklist

  • PR has an informative and human-readable title
  • Changes are limited to a single goal (no scope creep)

This is a one-off fix to convert an existing unique index on a Wagtail table into a unique constraint. See internal Design-and-Content-Team#389 for a description of the problem with a different constraint, #8066 for the fix this is
based on.

The mode QueryDailyHits is and its `UNIQUE` constraints are removed in [`wagtail.search.migrations.0008_remove_query_and_querydailyhits_models.py`](https://github.com/wagtail/wagtail/blob/stable/6.0.x/wagtail/search/migrations/0008_remove_query_and_querydailyhits_models.py) in Wagtail 6.0. This migration will prepare our database for the constraint's constraint's removal.
@willbarton willbarton marked this pull request as ready for review May 6, 2024 12:52
@willbarton willbarton added this pull request to the merge queue May 6, 2024
Merged via the queue into main with commit 2e721b5 May 6, 2024
17 checks passed
@willbarton willbarton deleted the wagtail6 branch May 6, 2024 17:23
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.

None yet

2 participants