From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:51361) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jCJgF-0006gs-Tg for guix-patches@gnu.org; Thu, 12 Mar 2020 04:59:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jCJgE-0004K7-4V for guix-patches@gnu.org; Thu, 12 Mar 2020 04:59:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49992) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jCJgD-0004Jq-U6 for guix-patches@gnu.org; Thu, 12 Mar 2020 04:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jCJgD-0007PZ-To for guix-patches@gnu.org; Thu, 12 Mar 2020 04:59:01 -0400 Subject: [bug#39777] [PATCH V3 02/11] gnu: python-cachy: Update to 0.3.0. Resent-Message-ID: Date: Thu, 12 Mar 2020 09:58:22 +0100 From: Tanguy Le Carrour Message-ID: <20200312085822.uhxgcckpmalaw2g6@rafflesia> References: <20200309081827.13489-1-tanguy@bioneland.org> <20200309081827.13489-2-tanguy@bioneland.org> <20200311191455.GA13879@jasmine.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200311191455.GA13879@jasmine.lan> 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: Leo Famulari Cc: 39777@debbugs.gnu.org Le 03/11, Leo Famulari a écrit : > On Mon, Mar 09, 2020 at 09:18:18AM +0100, Tanguy Le Carrour wrote: > > * gnu/packages/python-xyz.scm (python-cachy): Update to 0.3.0. > > [arguments]: Disable failing tests. > > > + (arguments > > + '(#:phases > > + (modify-phases %standard-phases > > + (add-before 'check 'disable-failing-tests > > + (lambda _ > > + (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))))) > > Do you have any idea what's going on with these tests? > > We should at least add a comment here, explaining why skipping the tests > is not hiding something that will be a problem while using cachy. Those ones are out of my comfort zone! :-( Seems that all the `RedisStoreTestCase` are failing with messages like: ``` ResourceWarning: unclosed if self._get_socket(): ResourceWarning: Enable tracemalloc to get the object allocation traceback ``` Might be related to the Redis server that is supposed to be running during the tests?! Again, any idea welcome! -- Tanguy