Subject: [bug#65758] [PATCH v7 12/57] gnu: python-django-allauth: Update to 0.47.0.

From: Nicolas Graves <[email-masked]>
Date: Wed, 6 Sep 2023 11:15:36 +0200

* gnu/packages/django.scm (python-django-allauth): Update to 0.47.0.
[build-system]: Use pyproject-build-system.
[arguments](phases): Set the django settings module as argument.
---
 gnu/packages/django.scm | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 3ceb6be3fd..8925b880b9 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -566,23 +566,22 @@ (define-public python-django-filter
 (define-public python-django-allauth
   (package
     (name "python-django-allauth")
-    (version "0.42.0")
+    (version "0.47.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "django-allauth" version))
        (sha256
         (base32
-         "0c0x8izvrnjhrr48w6pwsfk9ddbi6yfxg7v3hh5dm1vz1d0hjwpi"))))
-    (build-system python-build-system)
+         "1s65syhq466qvd3qj7xpcv02m623srazb0yjh44n4wp6qva0kkrb"))))
+    (build-system pyproject-build-system)
     (arguments
      '(#:phases
        (modify-phases %standard-phases
          (replace 'check
            (lambda _
-             (setenv "DJANGO_SETTINGS_MODULE" "test_settings")
              (invoke "django-admin" "test" "allauth.tests"
-                     "--pythonpath=."))))))
+                     "--pythonpath=." "--settings=test_settings"))))))
     (propagated-inputs
      (list python-openid python-requests python-requests-oauthlib))
     (native-inputs
-- 
2.41.0