Subject: [PATCH 9/9] gnu: python-wagtail: Update to 3.0.1.

From: Nicolas Graves <[email-masked]>
Date: Wed, 10 Aug 2022 00:43:33 +0200

* gnu/packages/django.scm (python-wagtail): Update to 3.0.1.
---
 gnu/packages/django.scm | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 4315f40cc5..0995c255d5 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -1586,13 +1586,13 @@ (define-public python-telepath
 (define-public python-wagtail
   (package
     (name "python-wagtail")
-    (version "2.16.2")
+    (version "3.0.1")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "wagtail" version))
        (sha256
-        (base32 "1alxxj7aiwj1ymaharzxv7sq7kyv555jg5fc1b98aiwxlcdxq8zf"))))
+        (base32 "1j3v4iknamwsd3mb981bk1q66cg409z60g9jxd5p6i46xby96wwi"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
@@ -1601,9 +1601,9 @@ (define-public python-wagtail
            (lambda* (#:key tests? inputs #:allow-other-keys)
              (if tests?
                  (lambda _
-                   (setenv "DJANGO_SETTINGS_MODULE" "wagtail.tests.settings")
                    (invoke "django-admin"
                            "test" "--pythonpath=."
+                           "--settings=wagtail.tests.settings"
                            ;; disabling failing tests
                            "-k" "not test_azure_cdn_get_client"
                            "-k" "not test_azure_cdn_purge"
@@ -1616,6 +1616,7 @@ (define-public python-wagtail
            python-django-filter
            python-django-modelcluster
            python-django-taggit
+           python-django-permissionedforms
            python-django-treebeard
            python-django-rest-framework
            python-draftjs-exporter
@@ -1630,23 +1631,26 @@ (define-public python-wagtail
     (native-inputs
      (list ;; python-azure-mgmt-cdn ;failing tests
       ;; python-azure-mgmt-frontdoor ;failing tests
+      python-black
       python-boto3
       python-coverage
+      python-curlylint
       python-dateutil
+      python-django-pattern-library
+      python-djhtml
       python-doc8
-      python-docutils
       python-elasticsearch
       python-flake8
+      python-flake8-assertive
+      python-flake8-comprehensions
       python-flake8-blind-except
       python-flake8-print
       python-freezegun
       python-isort
       python-jinja2
-      python-jinjalint
       python-openpyxl
       python-polib
-      python-pytz
-      python-unidecode))
+      python-pytz))
     (home-page "https://wagtail.org/")
     (synopsis "A Content Management System (CMS)")
     (description "This package provides a Content Management System based on
-- 
2.37.1