guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#37704] [PATCH 8/9] gnu: python-cachecontrol: Update to 0.12.5.


From: Tanguy Le Carrour
Subject: [bug#37704] [PATCH 8/9] gnu: python-cachecontrol: Update to 0.12.5.
Date: Fri, 11 Oct 2019 18:41:36 +0200
User-agent: NeoMutt/20180716

>From e1a304525bf27718f0dea75486f844d34b3f0aaa Mon Sep 17 00:00:00 2001
From: Tanguy Le Carrour <address@hidden>
Date: Wed, 9 Oct 2019 10:30:26 +0200
Subject: [PATCH 8/9] gnu: python-cachecontrol: Update to 0.12.5.

---
 gnu/packages/python-web.scm | 23 +++++------------------
 1 file changed, 5 insertions(+), 18 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index ffef3319f7..5d67f21330 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1987,7 +1987,7 @@ provide an easy-to-use Python interface for building 
OAuth1 and OAuth2 clients."
 (define-public python-cachecontrol
   (package
     (name "python-cachecontrol")
-    (version "0.11.6")
+    (version "0.12.5")
     (source
      (origin
        (method git-fetch)
@@ -1998,25 +1998,12 @@ provide an easy-to-use Python interface for building 
OAuth1 and OAuth2 clients."
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "0pb16bzbkk99nh317xyfk8fxc2ngimsbz7lz9pxsw8c82n83d4dh"))))
+         "03lgc65sl04n0cgzmmgg99bk83f9i6k8yrmcd4hpl46q1pymn0kz"))))
     (build-system python-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda _
-             ;; Drop test that requires internet access.
-             (delete-file "tests/test_regressions.py")
-             (setenv "PYTHONPATH"
-                     (string-append (getcwd) "/build/lib:"
-                                    (getenv "PYTHONPATH")))
-             (invoke "py.test" "-vv")
-             #t)))))
-    (native-inputs
-     `(("python-pytest" ,python-pytest)
-       ("python-redis" ,python-redis)
-       ("python-webtest" ,python-webtest)
-       ("python-mock" ,python-mock)))
+     ;; Versions > 0.11.6 depend on CherryPy for testing.
+     ;; It's too much work to package CherryPy for now.
+     `(#:tests? #f))
     (propagated-inputs
      `(("python-requests" ,python-requests)
        ("python-lockfile" ,python-lockfile)))
-- 
2.23.0


reply via email to

[Prev in Thread] Current Thread [Next in Thread]