py-ptyprocess bug - Was: Re: new ipython crash with recent update on Big Sur

Jonathan Stickel jjstickel at gmail.com
Tue Jan 5 12:22:33 UTC 2021


> Date: Mon, 4 Jan 2021 20:03:53 -0800
> From: Kevin Horton <kevin01 at kilohotel.com>
> To: MacPorts Users <macports-users at lists.macports.org>
> Cc: stromnov at macports.org
> Subject: py-ptyprocess bug - Was: Re: new ipython crash with recent
>         update on Big Sur
> Message-ID: <4529A2FC-4004-4F06-92F6-C6CA29291920 at kilohotel.com>
> Content-Type: text/plain;       charset=us-ascii
>
> On Jan 4, 2021, at 7:48 PM, Kevin Horton <kevin01 at kilohotel.com> wrote:
> >
> > A recent update has borked py37-ipython and py38-ipython for me on two
> Intel machines on macOS 11.1 with XCode 12.3.
> >
> > Symptoms: run ipython.  In ipython, do the following:
> >
> > import sys
> > sys.<Tab key> # i.e. press the Tab key.  This should show a list of
> functions and attributes of sys.  If ipython is borked it returns nothing
> > sys.argv?
> > sys.<Tab key> # this produces a ipython crash.
> >
> >
> > At first I only had this on the laptop where I had updated to Big Sur a
> couple of days ago, and then followed the migration steps, which updated
> all ports to the latest versions.  The iMac, which had been updated to Big
> Sur several weeks ago, did not exhibit the issue.  I suspected some issue
> unique to the laptop, so did the usual troubleshooting steps.  Then I did a
> port selfupdate on the iMac and it now had the same problem.  I used Time
> Machine to roll back to before the port selfupdate, and ipython is working
> correctly again.
> >
> > I'd file a bug, but I don't know which port is the problem yet.
>
> It looks like the problem is with py-ptyprocess  0.7.0_0 .  The problem
> goes away if I downgrade to py37-ptyprocess 0.6.0_0 and then rebuild
> py37-ipython
>
> Kevin
>
>
Maybe it is related to this:

https://github.com/ipython/ipython/issues/12121

I think there was also a macports ticket that was closed when a version of
some dependency was incremented. Anyway, the same workaround works for me:

`ipython --IPCompleter.use_jedi=False`

I am on Catalina.

Jonathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20210105/ce82ab18/attachment.htm>


More information about the macports-users mailing list