Bug ID 1106917
Summary python2-backports.ssl_match_hostname: ImportError: No module named backports.ssl_match_hostname
Classification openSUSE
Product openSUSE Distribution
Version Leap 42.3
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Other
Assignee bnc-team-screening@forge.provo.novell.com
Reporter oliver.schmidt+suse@orlives.de
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Although having installed both python2-backports and
python2-backports.ssl_match_hostname packages, the module
"backports.ssl_match_hostname" can't be imported from python2:

ImportError: No module named backports.ssl_match_hostname

Workaround: `touch /usr/lib/python2.7/site-packages/backports/__init__.py`

It looks like the __init__.py file inside the "backports" folder is missing
from packaging, thus "backports" is not considered a package, causing the
import to fail.


You are receiving this mail because: