<div dir="ltr"><div class="gmail_quote"><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Date: Mon, 4 Jan 2021 20:03:53 -0800<br>
From: Kevin Horton <<a href="mailto:kevin01@kilohotel.com" target="_blank">kevin01@kilohotel.com</a>><br>
To: MacPorts Users <<a href="mailto:macports-users@lists.macports.org" target="_blank">macports-users@lists.macports.org</a>><br>
Cc: <a href="mailto:stromnov@macports.org" target="_blank">stromnov@macports.org</a><br>
Subject: py-ptyprocess bug - Was: Re: new ipython crash with recent<br>
update on Big Sur<br>
Message-ID: <<a href="mailto:4529A2FC-4004-4F06-92F6-C6CA29291920@kilohotel.com" target="_blank">4529A2FC-4004-4F06-92F6-C6CA29291920@kilohotel.com</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
On Jan 4, 2021, at 7:48 PM, Kevin Horton <<a href="mailto:kevin01@kilohotel.com" target="_blank">kevin01@kilohotel.com</a>> wrote:<br>
> <br>
> A recent update has borked py37-ipython and py38-ipython for me on two Intel machines on macOS 11.1 with XCode 12.3.<br>
> <br>
> Symptoms: run ipython. In ipython, do the following:<br>
> <br>
> import sys<br>
> 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<br>
> sys.argv?<br>
> sys.<Tab key> # this produces a ipython crash.<br>
> <br>
> <br>
> 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.<br>
> <br>
> I'd file a bug, but I don't know which port is the problem yet.<br>
<br>
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<br>
<br>
Kevin<br><br></blockquote><div><br></div><div>Maybe it is related to this:</div><div><br></div><div><a href="https://github.com/ipython/ipython/issues/12121">https://github.com/ipython/ipython/issues/12121</a></div><div><br></div><div>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:</div><div><br></div><div>`ipython --IPCompleter.use_jedi=False`</div><div><br></div><div>I am on Catalina.</div><div><br></div><div>Jonathan</div></div></div>