Subject: Re: bug#38464: python-hy REPL is unusable

From: Jesse Gibbons <[email-masked]>
Date: Mon, 02 Dec 2019 17:37:26 -0700

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 <return> 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.