On Jan 5, 2021, at 4:22 AM, Jonathan Stickel <[email protected]> wrote: > > > Date: Mon, 4 Jan 2021 20:03:53 -0800 > From: Kevin Horton <[email protected] <mailto:[email protected]>> > To: MacPorts Users <[email protected] > <mailto:[email protected]>> > Cc: [email protected] <mailto:[email protected]> > Subject: py-ptyprocess bug - Was: Re: new ipython crash with recent > update on Big Sur > Message-ID: <[email protected] > <mailto:[email protected]>> > Content-Type: text/plain; charset=us-ascii > > On Jan 4, 2021, at 7:48 PM, Kevin Horton <[email protected] > <mailto:[email protected]>> 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 > <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.
Thanks! This same workaround works on Big Sig. Kevin
