Mailinglist Archive: opensuse-bugs (6588 mails)

< Previous Next >
[Bug 1143069] certbot fails with "cannot import name ssl_match_hostname"
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 30 Jul 2019 16:46:14 +0000
  • Message-id: <bug-1143069-21960-q5TfHTvBOW@http.bugzilla.suse.com/>
http://bugzilla.suse.com/show_bug.cgi?id=1143069
http://bugzilla.suse.com/show_bug.cgi?id=1143069#c4

--- Comment #4 from Maximilian Trummer <opensuse@xxxxxxxxxxx> ---
python2-certbot is also the latest "0.36.0-2.1".

$ `python2 -c "import urllib3"`
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/urllib3/__init__.py", line 7, in
<module>
from .connectionpool import (
File "/usr/lib/python2.7/site-packages/urllib3/connectionpool.py", line 11,
in <module>
from .exceptions import (
File "/usr/lib/python2.7/site-packages/urllib3/exceptions.py", line 2, in
<module>
from .packages.six.moves.http_client import (
File "/usr/lib/python2.7/site-packages/urllib3/packages/__init__.py", line 3,
in <module>
from . import ssl_match_hostname
ImportError: cannot import name ssl_match_hostname



python2-backports.ssl_match_hostname is "3.7.0.1-1.3"

(small mistake in description: "use it like this::" - two colons, mistake is
also in Leap 15.0)



The directory
/usr/lib/python2.7/site-packages/backports/ssl_match_hostname
exists but has no contents.

There is this file in /site-packages/:
/usr/lib/python2.7/site-packages/backports.ssl_match_hostname-3.7.0.1-py2.7.egg-info

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >