Subject: [bug#39777] [PATCH V3 02/11] gnu: python-cachy: Update to 0.3.0.

From: Tanguy Le Carrour <[email-masked]>
Date: Thu, 12 Mar 2020 09:58:22 +0100

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 <socket.socket fd=3, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 33754)>
  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