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