unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Jesse Gibbons <jgibbons2357@gmail.com>
To: 38464@debbugs.gnu.org
Subject: bug#38464: python-hy REPL is unusable
Date: Mon, 02 Dec 2019 17:37:26 -0700	[thread overview]
Message-ID: <a009ba3c21e72deb10be0c296b60e4612dffeeaf.camel@gmail.com> (raw)
In-Reply-To: <783b4e7ef2ab280f6012d92407f3b8d5d8f4837b.camel@gmail.com>

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.

  reply	other threads:[~2019-12-03  0:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-03  0:16 bug#38464: python-hy REPL is unusable Jesse Gibbons
2019-12-03  0:37 ` Jesse Gibbons [this message]
2019-12-10  2:42 ` Jesse Gibbons
2020-06-17  4:24 ` Royce Strange

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a009ba3c21e72deb10be0c296b60e4612dffeeaf.camel@gmail.com \
    --to=jgibbons2357@gmail.com \
    --cc=38464@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).