[Python-modules-team] Bug#952591: python3-urllib3: doesn't work with python3-six 1.14.0-2
Vaclav Ovsik
vaclav.ovsik at gmail.com
Wed Feb 26 14:24:26 GMT 2020
Package: python3-urllib3
Version: 1.25.8-1
Severity: grave
Justification: renders package unusable
Dear Maintainer,
there is an incompatilibity of python3-urllib3 with python3-six
1.14.0-2. I failed to use python3-requests and while analyzing the problem
further found a problem in urllib3...
This is expected behaviour (Debian 10):
>>> 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)
>>>
But on current Debian Sid i'm getting:
>>> from urllib3.util import parse_url
>>> parse_url('http://www.root.cz')
Traceback (most recent call last):
File "<input>", line 1, in <module>
parse_url('http://www.root.cz')
File "/usr/lib/python3/dist-packages/urllib3/util/url.py", line 392, in parse_url
return six.raise_from(LocationParseError(source_url), None)
File "<string>", line 3, in raise_from
urllib3.exceptions.LocationParseError: Failed to parse: http://www.root.cz
more specificaly:
> /usr/lib/python3/dist-packages/urllib3/util/url.py(296)_normalize_host()
-> return six.ensure_str(
(Pdb)
AttributeError: module 'six' has no attribute 'ensure_str'
Thanks
--
Zito
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?
*** End of the template - remove these template lines ***
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.4.0-4-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages python3-urllib3 depends on:
ii python3 3.7.5-3
ii python3-six 1.14.0-2
Versions of packages python3-urllib3 recommends:
ii ca-certificates 20190110
Versions of packages python3-urllib3 suggests:
ii python3-cryptography 2.8-3
ii python3-idna 2.6-2
ii python3-openssl 19.0.0-1
pn python3-socks <none>
-- no debconf information
More information about the Python-modules-team
mailing list