Subject: bug#38464: closed (python-hy REPL is unusable)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 17 Jun 2020 04:25:01 +0000

Your bug report

#38464: python-hy REPL is unusable

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
38464: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38464
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: python-hy REPL is unusable
From: Royce Strange <[email-masked]>
To: [email-masked]
Date: Tue, 16 Jun 2020 23:24:43 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello.

The patch series that Jesse Gibbons submitted in bug#38554 were applied 
in commits:
6b520177734e1c144fd6394f801919d0b54fa23e
c5eb8cf844148fb99934c3fedc3b4a0da55f9d8e
c215051dcf30b11c755aea4e2527b4d3d91c34bb

Briefly validated that the reported issue of the repl
being unusable seems fixed:

-----
$ guix --version
guix (GNU Guix) e7a7a483bcda6ec60d9dff3b3aba88dababe035c

$ guix environment --pure --ad-hoc python-hy -- hy3
hy 0.18.0 using CPython(default) 3.8.2 on Linux
=> (+ 1 2)
3
=> 
=> 
-----

Going to go ahead and close.

Subject: python-hy REPL is unusable
From: Jesse Gibbons <[email-masked]>
To: bug-guix mailing list <[email-masked]>
Date: Mon, 02 Dec 2019 17:16:32 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

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?
- If this is a guix issue, what is the best way to fix it?