Control: tags -1 + moreinfo unreproducible
On Wed, 26 Feb 2020 at 15:24:26 +0100, Vaclav Ovsik wrote:
> there is an incompatilibity of python3-urllib3 with python3-six
> 1.14.0-2
...
> AttributeError: module 'six' has no attribute 'ensure_str'
Are you sure you're not using an older local copy of 'six' - perhaps via
PYTHONPATH or /usr/local - rather than the distro version? This works
fine for me:
$ dpkg-query -W python3-six python3-urllib3
python3-six 1.14.0-2
python3-urllib3 1.25.8-1
$ python3
Python 3.7.6 (default, Jan 19 2020, 22:34:52)
[GCC 9.2.1 20200117] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import six
>>> six.ensure_str('bees')
'bees'
>>> from urllib3.util import parse_url
>>> parse_url('http://www.root.cz')
Url(scheme='http', auth=None, host='www.root.cz', port=None, path=None,
query=None, fragment=None)
smcv
_______________________________________________
Python-modules-team mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team