From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Lepiller Subject: bug#33047: pypi importer uses incorrect package names Date: Mon, 15 Oct 2018 15:43:02 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40692) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gC3AI-0001w7-7o for bug-guix@gnu.org; Mon, 15 Oct 2018 09:44:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gC3AA-0005bs-Sb for bug-guix@gnu.org; Mon, 15 Oct 2018 09:44:10 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:45706) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gC3AA-0005bn-Ou for bug-guix@gnu.org; Mon, 15 Oct 2018 09:44:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gC3AA-00021u-Ja for bug-guix@gnu.org; Mon, 15 Oct 2018 09:44:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40378) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gC39J-0001k8-Od for bug-guix@gnu.org; Mon, 15 Oct 2018 09:43:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gC39F-0005BN-Kg for bug-guix@gnu.org; Mon, 15 Oct 2018 09:43:09 -0400 Received: from lepiller.eu ([2a00:5884:8208::1]:35348) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gC39F-0005AY-9P for bug-guix@gnu.org; Mon, 15 Oct 2018 09:43:05 -0400 Received: from webmail.lepiller.eu (static-176-182-42-79.ncc.abo.bbox.fr [176.182.42.79]) by lepiller.eu (OpenSMTPD) with ESMTPSA id 85ee2d75 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Mon, 15 Oct 2018 13:42:32 +0000 (UTC) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 33047@debbugs.gnu.org Hi, I found that sometimes the pypi importer had trouble importing packages correctly. For instance, running "guix import pypi txaio" gave me this list of dependencies: (propagated-inputs `(("python-[all]" ,#{python-\x5b;all\x5d;}#) ("python-[asyncio]" ,#{python-\x5b;asyncio\x5d;}#) ...)) guix import pypi magic-wormhole had this: (propagated-inputs ("python-autobahn[twisted]" ,#{python-autobahn\x5b;twisted\x5d;}#) ...)) Of course, they break the recursive importer, which makes it difficult to import these packages correctly.