From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:34555) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEz1b-0004d1-3J for guix-patches@gnu.org; Thu, 19 Mar 2020 13:32:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jEz1Z-00070I-PB for guix-patches@gnu.org; Thu, 19 Mar 2020 13:32:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37611) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jEz1Z-000705-La for guix-patches@gnu.org; Thu, 19 Mar 2020 13:32:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jEz1Z-0006l5-Ik for guix-patches@gnu.org; Thu, 19 Mar 2020 13:32:05 -0400 Subject: [bug#39777] [PATCH V4 09/10] gnu: python-cachy: Update to 0.3.0. Resent-Message-ID: From: Tanguy Le Carrour Date: Thu, 19 Mar 2020 18:30:52 +0100 Message-Id: <20200319173053.14371-9-tanguy@bioneland.org> In-Reply-To: <20200319173053.14371-1-tanguy@bioneland.org> References: <20200319173053.14371-1-tanguy@bioneland.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39777@debbugs.gnu.org Cc: Tanguy Le Carrour * 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