From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Gibbons Subject: bug#38464: python-hy REPL is unusable Date: Mon, 02 Dec 2019 17:37:26 -0700 Message-ID: References: <783b4e7ef2ab280f6012d92407f3b8d5d8f4837b.camel@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:44268) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ibwCe-00008S-Lf for bug-guix@gnu.org; Mon, 02 Dec 2019 19:38:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ibwCZ-0004kP-6I for bug-guix@gnu.org; Mon, 02 Dec 2019 19:38:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:33183) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ibwCY-0004jR-Lf for bug-guix@gnu.org; Mon, 02 Dec 2019 19:38:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ibwCY-0007Fc-Gs for bug-guix@gnu.org; Mon, 02 Dec 2019 19:38:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <783b4e7ef2ab280f6012d92407f3b8d5d8f4837b.camel@gmail.com> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 38464@debbugs.gnu.org On Mon, 2019-12-02 at 17:16 -0700, Jesse Gibbons wrote: > 1. install python-hy > 2. run hy3 (to make sure it's setup to use python 3.7.4) > 3. press with or without typing anything. > It prints the following error at the end of a long stack trace: > > ImportError: invalid flags 1495674643 in 'hy.core.language' > > This also happens when using hy2py3, and I have attached a sample stack > trace from hy2py3. > > If python2-hy is installed (configured to use the python 2.7, which is > appraching end-of-life), the hy2 REPL and hy2py2 work just fine. > > - Does hy fail similarly on other systems, or is this a guix problem? Looks like a guix problem. > - If this is a guix issue, what is the best way to fix it? We need to update this thing! > > hy 0.17.0 was released in May this year. Is there a reason it is still 0.13.0 (released June 2017) in guix? Support for 3.7 was added in 0.15 according to the notes, so of course it's going to crash. Note that the notes for 0.17.0 says it will be the last version to support python2. I will send a patch after guix builds with the changes.