Summary: | dev-python/pyopenssl-16.2.0 triggers exception in Python 3.5 when using pip and others | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christian Tanzer <tanzer> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Output of `emerge --info` |
Closing old bugs. Please open a new one if it still happens with 20.0.0. |
Created attachment 460208 [details] Output of `emerge --info` Since the merging of dev-python/pyopenssl-16.2.0, the command pip install --upgrade xxx gives a traceback ending with: File "/usr/lib64/python3.5/site-packages/OpenSSL/__init__.py", line 8, in <module> from OpenSSL import rand, crypto, SSL File "/usr/lib64/python3.5/site-packages/OpenSSL/SSL.py", line 112, in <module> if _lib.Cryptography_HAS_SSL_ST: AttributeError: module 'lib' has no attribute 'Cryptography_HAS_SSL_ST' That didn't happen with dev-python/pyopenssl-16.1.0. Downgrading the package solves the problem. Python 2.7 does not show this problem!