Bug 1392570 - python2-cryptography-1.5.3-1.fc26 breaks fedpkg
Summary: python2-cryptography-1.5.3-1.fc26 breaks fedpkg
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pyOpenSSL
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-07 19:20 UTC by Kevin Fenzi
Modified: 2018-04-11 10:17 UTC (History)
9 users (show)

Fixed In Version: pyOpenSSL-16.2.0-1.fc26
Clone Of:
Environment:
Last Closed: 2016-11-08 08:00:18 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Kevin Fenzi 2016-11-07 19:20:17 UTC
On upgrading to python2-cryptography-1.5.3-1.fc26, fedpkg clone now gives me: 

% fedpkg clone certbot
Traceback (most recent call last):
  File "/usr/bin/fedpkg", line 13, in <module>
    from fedpkg.__main__ import main
  File "/usr/lib/python2.7/site-packages/fedpkg/__init__.py", line 12, in <module>
    import pyrpkg
  File "/usr/lib/python2.7/site-packages/pyrpkg/__init__.py", line 24, in <module>
    import koji
  File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 51, in <module>
    import ssl.SSLCommon
  File "/usr/lib/python2.7/site-packages/koji/ssl/SSLCommon.py", line 18, in <module>
    from OpenSSL import SSL
  File "/usr/lib/python2.7/site-packages/OpenSSL/__init__.py", line 8, in <module>
    from OpenSSL import rand, crypto, SSL
  File "/usr/lib/python2.7/site-packages/OpenSSL/SSL.py", line 124, in <module>
    SSL_ST_INIT = _lib.SSL_ST_INIT
AttributeError: 'module' object has no attribute 'SSL_ST_INIT'

Downgrading to python2-cryptography-1.3.1-4.fc25 everything works again.

Comment 1 Nathaniel McCallum 2016-11-07 19:36:17 UTC
https://github.com/pyca/pyopenssl/issues/525

This is fixed in a newer pyOpenSSL.

Comment 2 Kevin Fenzi 2016-11-07 22:50:17 UTC
I can confirm that this is fixed with newer pyOpenSSL. ;) 

Happy to push an update if you would like...

Comment 3 Nathaniel McCallum 2016-11-09 22:06:13 UTC
*** Bug 1393579 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.