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

commit f1a39687c9b1a9790fd3d2e1e0bb564807ee2f88
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Sep 21 17:22:29 2025 +0200

    gnu: python-django-cache-url: Fix tests.
    
    * gnu/packages/django.scm (python-django-cache-url):
    [source]: Switch to git-fetch.
    [native-inputs]: Add python-pytest, python-pytest-cov.
    
    Change-Id: I3539a056f2bb8e5e7707decae8dd698510463fae
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/django.scm | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 6134174f45..5f67f44ab6 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -235,15 +235,18 @@ to the @dfn{don't repeat yourself} (DRY) principle.")
   (package
     (name "python-django-cache-url")
     (version "3.4.5")
-    (source (origin
-              (method url-fetch)
-              (uri (pypi-uri "django-cache-url" version))
-              (sha256
-               (base32
-                "05yr19gi5ln6za0y9nf184klaixnf1dr1nfajn63893mf6ab37zb"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/epicserve/django-cache-url";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1a5vd07wrnfbclvf6pz9p8ag9kdd1453lsl9q0bkyc45hq2xqd2a"))))
     (build-system pyproject-build-system)
     (native-inputs
-     (list python-django python-setuptools python-wheel))
+     (list python-django python-pytest python-pytest-cov python-setuptools))
     (home-page "https://github.com/epicserve/django-cache-url";)
     (synopsis "Configure Django cache settings from URLs")
     (description

Reply via email to