From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: bug#24557: python importer: extend requirements import Date: Wed, 28 Sep 2016 16:35:26 +0000 Message-ID: <87wphwj835.fsf@we.make.ritual.n0.is> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49576) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpHr0-00074Q-Pn for bug-guix@gnu.org; Wed, 28 Sep 2016 12:37:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bpHqw-0001D7-Dr for bug-guix@gnu.org; Wed, 28 Sep 2016 12:37:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:60134) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpHqw-0001Cx-BJ for bug-guix@gnu.org; Wed, 28 Sep 2016 12:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bpHqw-0001PX-2a for bug-guix@gnu.org; Wed, 28 Sep 2016 12:37:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49379) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpHqS-0006qa-Qi for bug-guix@gnu.org; Wed, 28 Sep 2016 12:36:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bpHqO-0000zM-8z for bug-guix@gnu.org; Wed, 28 Sep 2016 12:36:31 -0400 Received: from aibo.runbox.com ([91.220.196.211]:36172) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpHqO-0000va-1Q for bug-guix@gnu.org; Wed, 28 Sep 2016 12:36:28 -0400 Received: from [10.9.9.212] (helo=mailfront12.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1bpHqK-0000J8-98 for bug-guix@gnu.org; Wed, 28 Sep 2016 18:36:24 +0200 Received: from x5d83e56d.dyn.telefonica.de ([93.131.229.109] helo=localhost) by mailfront12.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1bpHpP-0007Jk-39 for bug-guix@gnu.org; Wed, 28 Sep 2016 18:35:27 +0200 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: 24557@debbugs.gnu.org One example: ng0@shadowwalker ~$ guix import pypi hyperkitty Starting download of /tmp/guix-file.yrqmcv >From https://pypi.python.org/packages/47/2d/cc2adf4bc0ed7bb4189b3146dde921c9a6ecc33f0f87c96c744d89bab154/HyperKitty-1.0.3.tar.gz... …1.0.3.tar.gz 1.5MiB 1.1MiB/s 00:01 [####################] 100.0% tar: HyperKitty-1.0.3/requirements.txt: Not found in archive tar: Exiting with failure status due to previous errors guix import: warning: 'tar xf' failed with exit code 512 (package (name "python-hyperkitty") (version "1.0.3") When you look at the contained setup.py of hyperkitty, it has this defined in setup.py. # Requirements REQUIRES = [ etc etc I've seen this in some variations. The python importer should be extended to include these not very unusual cases. -- ng0