guix-patches
[Top][All Lists]
Advanced

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

[bug#39777] [PATCH V4 09/10] gnu: python-cachy: Update to 0.3.0.


From: Tanguy Le Carrour
Subject: [bug#39777] [PATCH V4 09/10] gnu: python-cachy: Update to 0.3.0.
Date: Thu, 19 Mar 2020 18:30:52 +0100

* gnu/packages/python-xyz.scm (python-cachy): Update to 0.3.0.
[arguments]: Disable failing tests.
---
 gnu/packages/python-xyz.scm | 20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ee9b01417c..a06d6161a8 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11170,15 +11170,31 @@ strings require only one extra byte in addition to 
the strings themselves.")
 (define-public python-cachy
   (package
     (name "python-cachy")
-    (version "0.2.0")
+    (version "0.3.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "cachy" version))
        (sha256
         (base32
-         "0v6mjyhgx6j7ya20bk69cr3gdzdkdf6psay0h090rscclgji65dp"))))
+         "1cb9naly8ampzlky7h74n5wj628l7jkpsh0c0jz0namlrvs82r8q"))))
     (build-system python-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'disable-failing-tests
+           (lambda _
+             ;; Disable failing test.  See upstream bug report
+             ;; https://github.com/sdispater/cachy/issues/5
+             (substitute* "tests/stores/test_memcached_store.py"
+               (("def test_forever") "def _test_forever")
+               (("def test_increment") "def _test_increment")
+               (("def test_decrement") "def _test_decrement")
+               (("def test_put_numeric_value") "def _test_put_numeric_value")
+               (("def test_put_value_into_memcache") "def 
_test_put_value_into_memcache")
+               (("def test_value_is_returned") "def _test_value_is_returned")
+               (("def test_value_is_returned_for_numerics") "def 
_test_value_is_returned_for_numerics"))
+             #t)))))
     (native-inputs
      `(("python-fakeredis" ,python-fakeredis)
        ("python-flexmock" ,python-flexmock)
-- 
2.25.1






reply via email to

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