Bug 1598877

Summary: ImportError: No module named 'pkg_resources'
Product: [Fedora] Fedora EPEL Reporter: Brian J. Murrell <brian>
Component: python3-cryptographyAssignee: Aurelien Bompard <aurelien>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: epel7CC: aurelien, cstratak, kevin, mhroncok, pviktori, TicoTimo, torsava
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: python3-cryptography-1.7.2-4.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-10 18:25:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Brian J. Murrell 2018-07-06 17:35:59 UTC
[ Filed under python34 due to there be no Component for python34-cryptography ]

Description of problem:
python34-cryptography which is in EPEL7 has a dependency on pkg_resources which is part of python34-setuptools.  This results in a broken python34-cryptography which results in a broken python34-paramiko.

Version-Release number of selected component (if applicable):
python34-cryptography-1.7.2-3.el7.x86_64

How reproducible:
100%

  File "/usr/lib/python3.4/site-packages/paramiko/__init__.py", line 30, in <module>
    from paramiko.transport import SecurityOptions, Transport
  File "/usr/lib/python3.4/site-packages/paramiko/transport.py", line 33, in <module>
    from cryptography.hazmat.backends import default_backend
  File "/usr/lib64/python3.4/site-packages/cryptography/hazmat/backends/__init__.py", line 7, in <module>
    import pkg_resources
ImportError: No module named 'pkg_resources'

python34-cryptography needs to depend on python34-setuptools I suppose.

Comment 3 Fedora Update System 2018-07-25 08:23:10 UTC
python3-cryptography-1.7.2-4.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-864686e4cf

Comment 4 Fedora Update System 2018-07-26 11:50:27 UTC
python3-cryptography-1.7.2-4.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-864686e4cf

Comment 5 Fedora Update System 2018-08-10 18:25:25 UTC
python3-cryptography-1.7.2-4.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.