From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id oKyVCfyMiV9WWwAA0tVLHw (envelope-from ) for ; Fri, 16 Oct 2020 12:07:24 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id yCBiBfyMiV/fPAAAbx9fmQ (envelope-from ) for ; Fri, 16 Oct 2020 12:07:24 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 464F694042F for ; Fri, 16 Oct 2020 12:07:23 +0000 (UTC) Received: from localhost ([::1]:37546 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTOW2-0007Sm-6t for larch@yhetil.org; Fri, 16 Oct 2020 08:07:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34926) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTOFb-0003Cl-PD for help-guix@gnu.org; Fri, 16 Oct 2020 07:50:25 -0400 Received: from mout02.posteo.de ([185.67.36.66]:52077) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTOFW-00032H-BQ for help-guix@gnu.org; Fri, 16 Oct 2020 07:50:22 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 75F0F2400FD for ; Fri, 16 Oct 2020 13:50:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1602849013; bh=Xx5a+3I0Z1mwTo4WOS9btNhbM9cV2cJ/ITX+gRL9IC4=; h=To:From:Subject:Date:From; b=Tq6SVLq5cVdAyItvBY3ikMHBuSqV9qoA/NKZdAqRr3Vo1ghd6I8Ny3nMkeAv0+Evk /kfhjLZM7eoqu7ZenJRmtrzl8DLTU97SmF5WgnNeRJ0LdGQfBBhp5ldPEs2k/Dx3s3 WqEw6a22PXJgTDFRbPmCg2sTJTGxvUk9nw1zDCUZTI7NN6HkQkPDFp3S0mXP+NBVke HrT856QcR+lTpbHL/5pbpas96+AhLMSHQ/ICF0w7jKs1xewJKZCDpLQGtOC/R0JPrw y7LV0pk7qIcLrWr7kamDHzEcK6KP49hFUhqGbyIZR+ScTMn57Urk9HYiqnbaQDGyfr mGIWKQebicpbw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4CCPbS6TzHz6tmF for ; Fri, 16 Oct 2020 13:50:12 +0200 (CEST) To: help-guix@gnu.org From: Zelphir Kaltstahl Subject: guix import error Message-ID: Date: Fri, 16 Oct 2020 13:50:12 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 Content-Language: en-US Received-SPF: pass client-ip=185.67.36.66; envelope-from=zelphirkaltstahl@posteo.de; helo=mout02.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/16 07:50:13 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=posteo.de header.s=2017 header.b=Tq6SVLq5; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.de (policy=none); spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: 1.59 X-TUID: aFSNhp3hMXhA 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