[MacPorts] #52235: py27-ipython has undeclared dependency on py27-enum

MacPorts noreply at macports.org
Tue Sep 13 14:02:33 CEST 2016


#52235: py27-ipython has undeclared dependency on py27-enum
--------------------+--------------------------
 Reporter:  cal@…   |      Owner:  aronnax@…
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.3.4
 Keywords:          |       Port:  py27-ipython
--------------------+--------------------------
 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?

-- 
Ticket URL: <https://trac.macports.org/ticket/52235>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list