[MacPorts] #31938: python27 rev 86868 breaks py27-ipython

MacPorts noreply at macports.org
Tue Nov 8 06:36:33 PST 2011


#31938: python27 rev  86868 breaks py27-ipython
-----------------------------------+----------------------------------------
 Reporter:  oliver.andrich@…       |       Owner:  jwa@…            
     Type:  defect                 |      Status:  new              
 Priority:  Normal                 |   Milestone:                   
Component:  ports                  |     Version:  2.0.3            
 Keywords:                         |        Port:  python27 python26
-----------------------------------+----------------------------------------

Comment(by michelle.lynn.gill@…):

 Replying to [comment:9 oliver.andrich@…]:
 > Replying to [comment:6 jmr@…]:
 > > Works for me. The ipython ports now depend on py-readline. I didn't
 rev bump because ipython doesn't actually need to be rebuilt, it just
 needs the readline module installed. Feel free to do the rev bump if you
 think users would rather an unnecessary rebuild than a dependency that
 isn't automatically installed unless they upgrade a non-outdated port.
 >
 > I can confirm, that this works for me. I did the following
 >
 > port uninstall py27-ipython
 > port selfupdate
 > port install py27-ipython -scientific
 >
 > Along with py27-ipython py27-readline was installed. Afterwards
 everything works again.


 This DID NOT work for me and I just repeated your steps exactly as
 written. I still get the following error upon starting ipython after
 uninstalling and reinstalling:
 {{{
 /Volumes/Files/macports/Library/Frameworks/Python.framework/Versions/Current/lib/python2.7
 /site-packages/IPython/utils/rlineimpl.py:96: RuntimeWarning: Leopard
 libedit detected - readline will not be well behaved including some
 crashes on tab completion, and incorrect history navigation. It is highly
 recommended that you install readline, which is easy_installable with:
 'easy_install readline'
   RuntimeWarning)
 }}}

 I DO have readline installed, and it was installed at the time that I
 rebuilt ipython.

 {{{
 % port installed py27-readline
 The following ports are currently installed:
   py27-readline @6.2.1_0 (active)
 }}}

 As I said above, I suspect the issue is that ipython is finding libedit
 first and using that instead of readline. I suspect that those not getting
 this error don't have libedit installed.

-- 
Ticket URL: <https://trac.macports.org/ticket/31938#comment:10>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list