Bug 1651716 - python-eventlet is missing requires on dns, monotonic and six
Summary: python-eventlet is missing requires on dns, monotonic and six
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-eventlet
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-20 16:02 UTC by Alfredo Moralejo
Modified: 2018-11-20 17:08 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-20 17:08:40 UTC


Attachments (Terms of Use)

Description Alfredo Moralejo 2018-11-20 16:02:25 UTC
Description of problem:

After 0.24.0, eventlet is not longer bundling dns, monotonic and six and they have been added as dependencies in https://github.com/eventlet/eventlet/commit/53b63c66f0d9a7d6ba9182a207529ebd949e95f3 so they need to be added ad requires in python-eventlet package.

Version-Release number of selected component (if applicable):

python-eventlet-0.24.1-1.fc30

How reproducible:

Always.

Steps to Reproduce:
1. dnf install python-eventlet
2. python
3. >>> from eventlet import greenpool


Actual results:

>>> from eventlet import greenpool
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/eventlet/__init__.py", line 10, in <module>
    from eventlet import convenience
  File "/usr/lib/python2.7/site-packages/eventlet/convenience.py", line 7, in <module>
    from eventlet.green import socket
  File "/usr/lib/python2.7/site-packages/eventlet/green/socket.py", line 21, in <module>
    from eventlet.support import greendns
  File "/usr/lib/python2.7/site-packages/eventlet/support/greendns.py", line 62, in <module>
    dns = import_patched('dns')
  File "/usr/lib/python2.7/site-packages/eventlet/support/greendns.py", line 59, in import_patched
    return patcher.import_patched(module_name, **modules)
  File "/usr/lib/python2.7/site-packages/eventlet/patcher.py", line 120, in import_patched
    *additional_modules + tuple(kw_additional_modules.items()))
  File "/usr/lib/python2.7/site-packages/eventlet/patcher.py", line 94, in inject
    module = __import__(module_name, {}, {}, module_name.split('.')[:-1])
ImportError: No module named dns
>>> 

Expected results:

Module should not fail to load.

Additional info:

Comment 1 Alfredo Moralejo 2018-11-20 16:14:57 UTC
Sent PR in https://src.fedoraproject.org/rpms/python-eventlet/pull-request/3

Comment 2 Igor Gnatenko 2018-11-20 16:36:56 UTC
I've created PR which deals with it better -- https://src.fedoraproject.org/rpms/python-eventlet/pull-request/4

Comment 3 Igor Gnatenko 2018-11-20 17:08:40 UTC
Fixed in rawhide.


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