GNU bug report logs - #23780
guix import pypi jedi: weird backtrace, no proper error message

Previous Next

Package: guix;

Reported by: Danny Milosavljevic <dannym <at> scratchpost.org>

Date: Fri, 17 Jun 2016 04:18:02 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


Message #20 received at 23780 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Cyril Roelandt <tipecaml <at> gmail.com>
Cc: 23780 <at> debbugs.gnu.org
Subject: Re: bug#23780: [PATCH] import: pypi: do not fail when 'run_requires'
 is missing from the metadata.
Date: Fri, 17 Jun 2016 17:09:02 +0200
Cyril Roelandt <tipecaml <at> gmail.com> skribis:

> * guix/import/pypi.scm (read-wheel-metadata): do not crash when 'run_requires'
> is missing from the metadata.

[...]

> +                          (requirements (if run_requires
> +                                          (hash-ref (list-ref run_requires 0)
> +                                                     "requires")
> +                                          '())))

Please align the ‘if’ branches with the condition.  :-)

Otherwise LGTM, thanks for the quick fix!

Ludo’.




This bug report was last modified 9 years and 17 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.