<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">On Jan 5, 2021, at 4:22 AM, Jonathan Stickel <<a href="mailto:jjstickel@gmail.com" class="">jjstickel@gmail.com</a>> wrote:<br class=""><div><blockquote type="cite" class=""><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_quote"><div class=""> <br class=""></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 class="">
From: Kevin Horton <<a href="mailto:kevin01@kilohotel.com" target="_blank" class="">kevin01@kilohotel.com</a>><br class="">
To: MacPorts Users <<a href="mailto:macports-users@lists.macports.org" target="_blank" class="">macports-users@lists.macports.org</a>><br class="">
Cc: <a href="mailto:stromnov@macports.org" target="_blank" class="">stromnov@macports.org</a><br class="">
Subject: py-ptyprocess bug - Was: Re: new ipython crash with recent<br class="">
        update on Big Sur<br class="">
Message-ID: <<a href="mailto:4529A2FC-4004-4F06-92F6-C6CA29291920@kilohotel.com" target="_blank" class="">4529A2FC-4004-4F06-92F6-C6CA29291920@kilohotel.com</a>><br class="">
Content-Type: text/plain;       charset=us-ascii<br class="">
<br class="">
On Jan 4, 2021, at 7:48 PM, Kevin Horton <<a href="mailto:kevin01@kilohotel.com" target="_blank" class="">kevin01@kilohotel.com</a>> wrote:<br class="">
> <br class="">
> 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 class="">
> <br class="">
> Symptoms: run ipython.  In ipython, do the following:<br class="">
> <br class="">
> import sys<br class="">
> 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 class="">
> sys.argv?<br class="">
> sys.<Tab key> # this produces a ipython crash.<br class="">
> <br class="">
> <br class="">
> 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 class="">
> <br class="">
> I'd file a bug, but I don't know which port is the problem yet.<br class="">
<br class="">
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 class="">
<br class="">
Kevin<br class=""><br class=""></blockquote><div class=""><br class=""></div><div class="">Maybe it is related to this:</div><div class=""><br class=""></div><div class=""><a href="https://github.com/ipython/ipython/issues/12121" class="">https://github.com/ipython/ipython/issues/12121</a></div><div class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class="">`ipython --IPCompleter.use_jedi=False`</div><div class=""><br class=""></div><div class="">I am on Catalina.</div></div></div></div></blockquote><br class=""></div><div>Thanks!</div><div><br class=""></div><div>This same workaround works on Big Sig.</div><div><br class=""></div><div>Kevin</div><br class=""></body></html>