Bug 1598877 - ImportError: No module named 'pkg_resources'
Summary: ImportError: No module named 'pkg_resources'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: python3-cryptography
Version: epel7
Hardware: All
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Aurelien Bompard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-06 17:35 UTC by Brian J. Murrell
Modified: 2018-08-10 18:25 UTC (History)
7 users (show)

Fixed In Version: python3-cryptography-1.7.2-4.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-08-10 18:25:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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