[Python-modules-team] Bug#915895: python-limits FTBFS: ERROR: Failure: ImportError (cannot import name b)

Slavko linux at slavino.sk
Sat Feb 9 17:57:54 GMT 2019


Hi,

while this of course affects the python-limits build, it is not its
bug. As one can see, it is caused in test by importing rediscluster:

...
  File
"/build/python-limits-1.3/.pybuild/cpython3_3.7_limits/build/tests/test_storage.py",
line 10, in <module> import rediscluster File
"/usr/lib/python3/dist-packages/rediscluster/__init__.py", line 7, in
<module> from .client import StrictRedisCluster, RedisCluster File
"/usr/lib/python3/dist-packages/rediscluster/client.py", line 31, in
<module> from redis._compat import iteritems, basestring, b, izip,
nativestr, long ImportError: cannot import name 'b' from
'redis._compat' (/usr/lib/python3/dist-packages/redis/_compat.py)

It is know bug of redis-py-cluster, see
https://github.com/Grokzen/redis-py-cluster/issues/294, which was marked
as closed at 16 Nov 2018 but is not fixed yet and results, that the 
redis-py-cluster is not compatible with python-redis >=3.0

regards

-- 
Slavko
http://slavino.sk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitálny podpis OpenPGP
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20190209/b0d93b0e/attachment.sig>


More information about the Python-modules-team mailing list