unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Danny Milosavljevic <dannym@scratchpost.org>
To: 30562@debbugs.gnu.org
Subject: bug#30562: "guix import pypi" fails now with "guix pulled" guix.
Date: Wed, 21 Feb 2018 00:27:26 +0100	[thread overview]
Message-ID: <20180221002726.0e855d65@scratchpost.org> (raw)

"guix import pypi" fails now with "guix pulled" guix.

The "guix pulled" guix is:

latest -> /gnu/store/97s03kq3ppc626bw6hpnyhias2pmp5wp-guix-latest

.

$ guix import pypi pytest-warnings
Backtrace:
          14 (apply-smob/1 #<catch-closure 171c8c0>)
In ice-9/boot-9.scm:
    713:2 13 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
In ice-9/eval.scm:
    619:8 12 (_ #(#(#<directory (guile-user) 179f140>)))
In guix/ui.scm:
  1489:12 11 (run-guix-command _ . _)
In guix/scripts/import.scm:
   114:11 10 (guix-import . _)
In guix/scripts/import/pypi.scm:
    84:19  9 (guix-import-pypi . _)
In guix/import/pypi.scm:
   274:17  8 (pypi->guix-package _)
In ice-9/boot-9.scm:
    837:9  7 (catch srfi-34 #<procedure 1c6b7e0 at guix/import/json…> …)
In guix/import/json.scm:
    32:17  6 (_)
In guix/http-client.scm:
   240:25  5 (http-fetch _ #:port _ #:text? _ #:buffered? _ # _ # _ # …)
In guix/build/download.scm:
    406:4  4 (open-connection-for-uri _ #:timeout _ # _)
   407:14  3 (thunk)
   342:14  2 (open-socket-for-uri #<<uri> scheme: https userinfo: #…> …)
    321:4  1 (ensure-uri #<<uri> scheme: https userinfo: #f host: "p…>)
In unknown file:
           0 (_ #<<uri> scheme: https userinfo: #f host: "pypi.pytho…>)

ERROR: ERROR: Wrong type to apply: #<syntax-transformer uri?>

But "guix import pypi" works with git checkout I manually compiled:

$ ./pre-inst-env guix import pypi pytest-warnings
guile: warning: failed to install locale
warning: failed to install locale: Invalid argument

Starting download of /tmp/guix-file.UpO8Fe
From https://pypi.python.org/packages/49/09/e464b757c7d5b75b369f2b3e24f3295eedb782919448a49e0e072c5102f7/pytest-warnings-0.3.0.tar.gz...
 ...s-0.3.0.tar.gz  5KiB              466KiB/s 00:00 [##################] 100.0%
tar: pytest-warnings-0.3.0/requirements.txt: Nicht im Archiv gefunden.
tar: Beende mit Fehlerstatus aufgrund vorheriger Fehler
guix import: warning: 'tar xf' failed with exit code 512
(package
  (name "python-pytest-warnings")
  (version "0.3.0")
  (source
    (origin
      (method url-fetch)
      (uri (pypi-uri "pytest-warnings" version))
      (sha256
        (base32
          "18yxh153icmndaw8fkl1va0bk0mwzrbpaa6wxd29w3iwxym5zn2a"))))
  (build-system python-build-system)
  (home-page
    "https://github.com/fschulze/pytest-warnings")
  (synopsis
    "pytest plugin to list Python warnings in pytest report")
  (description
    "pytest plugin to list Python warnings in pytest report")
  (license license:expat))

             reply	other threads:[~2018-02-20 23:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-20 23:27 Danny Milosavljevic [this message]
2018-02-21  1:19 ` bug#30562: "guix import pypi" fails now with "guix pulled" guix Marius Bakke
2018-02-21 11:03   ` Danny Milosavljevic
2018-02-26 15:13 ` Ludovic Courtès
2018-03-09 10:38   ` Ludovic Courtès

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=20180221002726.0e855d65@scratchpost.org \
    --to=dannym@scratchpost.org \
    --cc=30562@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).