guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit 600869ecb93e89b61a0aa1cd29f166f5782054da
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Feb 5 13:01:29 2026 +0000

    gnu: python-django-rq: Update to 3.2.2.
    
    * gnu/packages/django.scm (python-django-rq): Update to 3.2.2.
    [source]: Switch to git-fetch.
    [arguments] <test-flags>: Drop all.
    <phases>: Remove 'pre-check; add 'start-redis.
    [native-inputs]: Remove python-setuptools and python-wheel; add
    python-hatchling.
    
    Change-Id: I438d07f2bfda42e9dff9f4c1269106c6be68e766
---
 gnu/packages/django.scm | 33 +++++++++++++++++----------------
 1 file changed, 17 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index f2fb6f50f6..3725200daa 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -1268,37 +1268,38 @@ server headers required for Cross-Origin Resource 
Sharing (CORS).")
 (define-public python-django-rq
   (package
     (name "python-django-rq")
-    (version "3.0.0")
-    (source (origin
-              (method url-fetch)
-              (uri (pypi-uri "django-rq" version))
-              (sha256
-               (base32
-                "1b371w4cdjlz83i2sg4gpx0z3svl3bfrn6zfy661374hv62xpnkv"))))
+    (version "3.2.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/ui/django-rq";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0zdzbg7ld7325x5c8rl9n08w5n1srxfrwn54gfm8b04k4hbw9axw"))))
     (build-system pyproject-build-system)
     (arguments
      (list
-      #:test-flags
-      #~(list "-k" "not test_scheduled_jobs and not test_started_jobs")
       #:phases
       #~(modify-phases %standard-phases
-          (add-before 'check 'pre-check
+          (add-before 'check 'start-redis
             (lambda* (#:key tests? #:allow-other-keys)
               (when tests?
-                (invoke "redis-server" "--daemonize" "yes")
-                (setenv "DJANGO_SETTINGS_MODULE" "django_rq.tests.settings")
-                (setenv "PYTHONPATH" (getcwd))))))))
+                (invoke "redis-server" "--daemonize" "yes")))))))
     (native-inputs
      (list python-django-redis
            python-pytest
            python-pytest-django
            python-rq-scheduler
-           python-setuptools
-           python-wheel
+           python-hatchling
            redis
            tzdata-for-tests))
     (propagated-inputs
-     (list python-django python-redis python-rq python-pyaml))
+     (list python-django
+           python-redis
+           python-rq
+           python-pyaml))
     (home-page "https://github.com/ui/django-rq";)
     (synopsis "Django integration with RQ")
     (description

Reply via email to