Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 605798 - dev-python/pyopenssl-16.2.0 triggers exception in Python 3.5 when using pip and others
Summary: dev-python/pyopenssl-16.2.0 triggers exception in Python 3.5 when using pip a...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-15 17:31 UTC by Christian Tanzer
Modified: 2021-01-05 10:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Output of `emerge --info` (emerge.info,5.53 KB, application/x-info)
2017-01-15 17:31 UTC, Christian Tanzer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Tanzer 2017-01-15 17:31:21 UTC
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!
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-01-05 10:39:12 UTC
Closing old bugs.  Please open a new one if it still happens with 20.0.0.