Opened 8 years ago

Closed 8 years ago

#52235 closed defect (fixed)

py27-ipython has undeclared dependency on py27-enum

Reported by: neverpanic (Clemens Lang) Owned by: lpsinger (Leo Singer)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: seanfarley (Sean Farley), stromnov (Andrey Stromnov)
Port: py27-ipython

Description

py27-ipython fails to start if py27-enum isn't installed:

$ ipython2-2.7
Traceback (most recent call last):
  File "/opt/local/bin/ipython2-2.7", line 4, in <module>
    from IPython import start_ipython
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/IPython/__init__.py", line 48, in <module>
    from .core.application import Application
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/IPython/core/application.py", line 23, in <module>
    from traitlets.config.application import Application, catch_config_error
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/traitlets/__init__.py", line 1, in <module>
    from .traitlets import *
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/traitlets/traitlets.py", line 49, in <module>
    import enum
ImportError: No module named enum

Installing py27-enum fixes the problem. Should py27-ipython depend on py27-enum?

Change History (1)

comment:1 Changed 8 years ago by stromnov (Andrey Stromnov)

Resolution: fixed
Status: newclosed

Thanks! Fixed at r152620.

Note: See TracTickets for help on using tickets.