From: Zelphir Kaltstahl <zelphirkaltstahl@posteo.de>
To: help-guix@gnu.org
Subject: guix import error
Date: Fri, 16 Oct 2020 13:50:12 +0200 [thread overview]
Message-ID: <fb468269-4811-b5ce-8dba-c7dd55ae5393@posteo.de> (raw)
Hi Guix users!
Today I tried to import another package from PyPI:
~~~~
$ guix import pypi 'jupyterlab@2.1.5' --recursive
following redirection to `https://pypi.org/pypi/jupyterlab@2.1.5/json/'...
Backtrace:
4 (primitive-load "/home/user/.config/guix/current/bi…")
In guix/ui.scm:
2115:12 3 (run-guix-command _ . _)
In guix/scripts/import.scm:
120:11 2 (guix-import . _)
In guix/scripts/import/pypi.scm:
97:16 1 (guix-import-pypi . _)
In guix/import/utils.scm:
427:36 0 (recursive-import "jupyterlab@2.1.5" #f # _ #:guix-name _)
guix/import/utils.scm:427:36: In procedure recursive-import:
Wrong number of values returned to continuation (expected 2)
~~~~
But when I leave away the version, it works:
~~~~
$ guix import pypi 'jupyterlab' --recursive
Starting download of /tmp/guix-file.OuiOPJ
From https://files.pythonhosted.org/packages/39/dc/a0d48fa885fce1efa8a7dcee9c86d52cf59aa312cc35fc78077c841ee411/jupyterlab-2.2.8.tar.gz...
…2.2.8.tar.gz 8.1MiB 9.3MiB/s 00:01 [##################] 100.0%
Starting download of /tmp/guix-file.hQu7pJ
From https://files.pythonhosted.org/packages/d7/a9/d7c904ee406d1ce320fd1d91e05111fa158e66bb217f68d070b5f58c5937/jupyterlab-2.2.8-py3-none-any.whl...
…-py3-none-any.whl 7.5MiB 8.7MiB/s 00:01 [##################] 100.0%
Starting download of /tmp/guix-file.v4NZXH
From https://files.pythonhosted.org/packages/92/54/5f321ca4cebfb644ac59eb21601b46a2ff9831ffe1b4e5a588f2a7e98d48/jupyterlab_server-1.2.0.tar.gz...
…er-1.2.0.tar.gz 22KiB 749KiB/s 00:00 [##################] 100.0%
Starting download of /tmp/guix-file.XvrOHJ
From https://files.pythonhosted.org/packages/b4/eb/560043dcd8376328f8b98869efed66ef68307278406ab99c7f63a34d4ae2/jupyterlab_server-1.2.0-py3-none-any.whl...
…2.0-py3-none-any.whl 28KiB 986KiB/s 00:00 [##################] 100.0%
(define-public python-jupyterlab-server
(package
(name "python-jupyterlab-server")
(version "1.2.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "jupyterlab-server" version))
(sha256
(base32
"132xby7531rbrjg9bqvsx86birr1blynjxy8gi5kcnb6x7fxjcal"))))
(build-system python-build-system)
(propagated-inputs
`(("python-jinja2" ,python-jinja2)
("python-json5" ,python-json5)
("python-jsonschema" ,python-jsonschema)
("python-notebook" ,python-notebook)
("python-requests" ,python-requests)))
(native-inputs
`(("python-pytest" ,python-pytest)
("python-requests" ,python-requests)))
(home-page "https://jupyter.org")
(synopsis "JupyterLab Server")
(description "JupyterLab Server")
(license license:bsd-3)))
(define-public python-jupyterlab
(package
(name "python-jupyterlab")
(version "2.2.8")
(source
(origin
(method url-fetch)
(uri (pypi-uri "jupyterlab" version))
(sha256
(base32
"134b1i0hi0by62ajqqmyqksvffj46pzgjjcrwz0ijjah63p7ndy8"))))
(build-system python-build-system)
(propagated-inputs
`(("python-jinja2" ,python-jinja2)
("python-jupyterlab-server"
,python-jupyterlab-server)
("python-notebook" ,python-notebook)
("python-tornado" ,python-tornado)))
(native-inputs
`(("python-pytest" ,python-pytest)
("python-pytest-check-links"
,python-pytest-check-links)
("python-requests" ,python-requests)
("python-virtualenv" ,python-virtualenv)
("python-wheel" ,python-wheel)))
(home-page "http://jupyter.org")
(synopsis
"The JupyterLab notebook server extension.")
(description
"The JupyterLab notebook server extension.")
(license license:bsd-3)))
~~~~
So I checked in the manual and there is says:
> A specific package version may optionally be specified by following
the package name by an at-sign and a version number as in the following
example:
> guix import hackage mtl@2.1.3.1
But that is in the "hackage" import section. Is the same not available
for PyPI?
When I check with:
~~~~
$ guix import pypi 'jupyterlab@2.2.8' --recursive
following redirection to `https://pypi.org/pypi/jupyterlab@2.2.8/json/'...
Backtrace:
4 (primitive-load "/home/user/.config/guix/current/bi…")
In guix/ui.scm:
2115:12 3 (run-guix-command _ . _)
In guix/scripts/import.scm:
120:11 2 (guix-import . _)
In guix/scripts/import/pypi.scm:
97:16 1 (guix-import-pypi . _)
In guix/import/utils.scm:
427:36 0 (recursive-import "jupyterlab@2.2.8" #f # _ #:guix-name _)
guix/import/utils.scm:427:36: In procedure recursive-import:
Wrong number of values returned to continuation (expected 2)
~~~~
It also errors, although 2.2.8 is the version shown on PyPI currently.
Do the various importers work differently?
Regards,
Zelphir
--
repositories: https://notabug.org/ZelphirKaltstahl
next reply other threads:[~2020-10-16 12:07 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-16 11:50 Zelphir Kaltstahl [this message]
2020-10-16 12:19 ` guix import error zimoun
2020-10-16 12:25 ` Tobias Geerinckx-Rice
2020-10-16 13:51 ` zimoun
2020-10-18 11:55 ` guix import error + New: setting up a jupyterlab environment Zelphir Kaltstahl
2020-10-18 16:35 ` Efraim Flashner
2020-10-19 14:31 ` Zelphir Kaltstahl
2020-10-19 16:54 ` Efraim Flashner
2020-10-19 18:19 ` Zelphir Kaltstahl
2020-10-19 21:12 ` Zelphir Kaltstahl
2020-10-21 7:18 ` Efraim Flashner
2020-10-24 19:42 ` Zelphir Kaltstahl
2020-10-25 8:52 ` Efraim Flashner
2020-10-25 11:49 ` Zelphir Kaltstahl
2020-10-21 7:09 ` Efraim Flashner
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=fb468269-4811-b5ce-8dba-c7dd55ae5393@posteo.de \
--to=zelphirkaltstahl@posteo.de \
--cc=help-guix@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.
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).