eventlet 0.16 breaks detox

Issue #207 on hold
Tres Seaver created an issue

After updating to eventlet 0.16:

$ detox --help
Traceback (most recent call last):
  File "/home/tseaver/bin/detox", line 9, in <module>
    load_entry_point('detox==0.9.3', 'console_scripts', 'detox')()
  File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 474, in load_entry_point
  File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 2569, in load_entry_point
  File "build/bdist.linux-x86_64/egg/pkg_resources/__init__.py", line 2260, in load
  File "/opt/Python-2.7.9/lib/python2.7/site-packages/detox-0.9.3-py2.7.egg/detox/main.py", line 5, in <module>
    from detox.proc import Detox
  File "/opt/Python-2.7.9/lib/python2.7/site-packages/detox-0.9.3-py2.7.egg/detox/proc.py", line 6, in <module>
    from eventlet.processes import Process, DeadProcess
ImportError: No module named processes

detox works fine with 0.15.

Comments (7)

  1. Holger Krekel repo owner

    I wonder how one is supposed to create sub processes with eventlet -- i don't like monkeypatching much. cc @flub

  2. Floris Bruynooghe

    from eventlet.green import subprocess is the right way I would think. In general I think you should be able to do everything with the toplevel eventlet.* API or stdlib imports from the eventlet.green.* namespace.

  3. Log in to comment