You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Wagtail Bakery with Django 3.0, Wagtail 2.8 or Wagtail 2.9 produces some Deprecation Warnings. Some seem to be upstream so we might not be able to do much, but listing them here anyway.
Django 3.0
.../bakery/management/commands/build.py:133: RemovedInDjango40Warning: smart_text() is deprecated in favor of smart_str().
self.build_dir = smart_text(self.build_dir)
Wagtail 2.8
.../wagtailbakery/api_views.py:8: RemovedInWagtail210Warning: PagesAPIEndpoint has been moved from wagtail.api.v2.endpoints to wagtail.api.v2.views and renamed to PagesAPIViewSet
from wagtail.api.v2.endpoints import PagesAPIEndpoin
Wagtail 2.9
.../wagtail/core/middleware.py:8: RemovedInWagtail211Warning: wagtail.core.middleware.SiteMiddleware and the use of request.site is deprecated. Please update your code to use Site.find_for_request(request) in place of request.site, and remove wagtail.core.middleware.SiteMiddleware from MIDDLEWARES
warnings.warn(
Python 3.3
.../wagtail/admin/rich_text/converters/html_ruleset.py:2: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
from collections import Mapping
The text was updated successfully, but these errors were encountered:
The Django 3.0 warning comes from Django-Bakery and it doesn't seem to be a fix there. However, it's a deprecation warning for Django 4.0, so there is no rush.
The Python 3.9 warning comes form Wagtail itself. I submitted a PR, see wagtail/wagtail#6241.
Working through the ones thrown by Wagtail-Bakery itself on #54.
Using Wagtail Bakery with Django 3.0, Wagtail 2.8 or Wagtail 2.9 produces some Deprecation Warnings. Some seem to be upstream so we might not be able to do much, but listing them here anyway.
The text was updated successfully, but these errors were encountered: