From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6Fa/C+4G1mCp/QAAgWs5BA (envelope-from ) for ; Fri, 25 Jun 2021 18:40:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id aC6AB+4G1mCxVQAAB5/wlQ (envelope-from ) for ; Fri, 25 Jun 2021 16:40:14 +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 90FAC2311D for ; Fri, 25 Jun 2021 18:40:13 +0200 (CEST) Received: from localhost ([::1]:45988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwosG-0007gF-HP for larch@yhetil.org; Fri, 25 Jun 2021 12:40:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59568) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwos6-0007ao-KD for bug-guix@gnu.org; Fri, 25 Jun 2021 12:40:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35158) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lwos6-00089s-Cp for bug-guix@gnu.org; Fri, 25 Jun 2021 12:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lwos6-0001Mk-Bv for bug-guix@gnu.org; Fri, 25 Jun 2021 12:40:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#49168: =?UTF-8?Q?=E2=80=98guix?= import =?UTF-8?Q?pypi=E2=80=99?= misses package dependencies Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 25 Jun 2021 16:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49168 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 49168-submit@debbugs.gnu.org id=B49168.16246391795210 (code B ref 49168); Fri, 25 Jun 2021 16:40:02 +0000 Received: (at 49168) by debbugs.gnu.org; 25 Jun 2021 16:39:39 +0000 Received: from localhost ([127.0.0.1]:46704 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lworj-0001Ly-DA for submit@debbugs.gnu.org; Fri, 25 Jun 2021 12:39:39 -0400 Received: from mail-qk1-f172.google.com ([209.85.222.172]:35347) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lworh-0001Ll-1r for 49168@debbugs.gnu.org; Fri, 25 Jun 2021 12:39:38 -0400 Received: by mail-qk1-f172.google.com with SMTP id q190so19731588qkd.2 for <49168@debbugs.gnu.org>; Fri, 25 Jun 2021 09:39:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=ARbmjr7X9cP2oqtGDZhPizF5qhFKTl2He/fJ9GITHeM=; b=nzeVuZO6D5v+4HHBZX0ruFtg4+Tp6OoUCEso1iioJHQrIksA71D4sGYBBLeQdDUFUg 49eQHjrQgPBUXRUsP+43wETyUDQDPQPh7Imvrf+YXk+3Jqp+b5hnxs5ExXtjRck8sZe1 d7bNBOkpOmF3hkcbt2Pv2M4AyROQts3mkW7tM9+iUpeqiohv/55biby50wF73AwlkPFa xtVdTbM7VUX2LCLJbXsyRnYLvNwVvzKpISxaRrg7X4Vi5kXfHkgFh1z63W28QCrr4D/T e+D/1mniW7DE3r14BV3gyZcFPkZrSN0pvtL2BdQBFShZez4MZLtMt76OJE1z9TJDpJ9m SEgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=ARbmjr7X9cP2oqtGDZhPizF5qhFKTl2He/fJ9GITHeM=; b=sAbjmG4fabu62/TjklSTB1GOt/gK8qLTP3UhdsOCdg4vSPn2S+k8fyq6I+anG+Kpet mD4EDlG0iKcEUB+MVUUpz8/ssEA+IfXvaX03sG5RdxhliBi4AnKMVPul9YXMXZqf4NgM p/E68iTe0Xyv/zdOi0tmkPNYnVQEmKbdZO0XlRv9hp5Z0xq9eh4woCH25NiDTKIEm2tM Yt58rzL8PWWwMFyFJMG/VRFUq+0G8raayVqNZqd7vKxlyFZx9gfM4s5SjGKiT5bEX6MY p2Sgclq455didozhCcp1NVOQS1MakpAo2hQnBwKdoHtDnG46WT2wqJ/ggF/4sEa4Lv4K DTDw== X-Gm-Message-State: AOAM531H1Sct4SYeWnrbHbY1WHMzPcTfsostsBQbsvcM9U8DEvTafhu6 KVQsaD7SF/WDg1tKRYF/Wi2DDAxH0n/fV1ao X-Google-Smtp-Source: ABdhPJx5Bqyj7eDv7AJwfiZhFw+G4oj3ywfNM0oqD1OIG8bBsIJvewHPbXVWEpgzx5HvLL9I+1kzWA== X-Received: by 2002:a05:620a:cd2:: with SMTP id b18mr12251483qkj.221.1624639171493; Fri, 25 Jun 2021 09:39:31 -0700 (PDT) Received: from hurd (dsl-10-149-111.b2b2c.ca. [72.10.149.111]) by smtp.gmail.com with ESMTPSA id z3sm5364798qkj.40.2021.06.25.09.39.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Jun 2021 09:39:31 -0700 (PDT) From: Maxim Cournoyer References: <877dim5psf.fsf@inria.fr> <992e746ed43c5ae7def7b35996ed44743fef85bf.camel@student.tugraz.at> <87eecu3wqh.fsf@inria.fr> <87mtrgyaxe.fsf@gnu.org> <7da007493c9bcea075a76dc01d6e85b457c5d4e3.camel@student.tugraz.at> <87a6nftwio.fsf@gnu.org> <87pmwbythg.fsf@gmail.com> <87mtre2e1e.fsf@gnu.org> Date: Fri, 25 Jun 2021 12:39:30 -0400 In-Reply-To: <87mtre2e1e.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Fri, 25 Jun 2021 16:51:25 +0200") Message-ID: <87pmw9yk3h.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Leo Prikler , 49168@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624639213; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ARbmjr7X9cP2oqtGDZhPizF5qhFKTl2He/fJ9GITHeM=; b=uuIhXumLh6ctDFw8ZSseLz9eMPOalZJ2MmBeV/HIyBqZNg98mdBxctBaMLUEj0E5WOMnTm kUYh92AI/jwXvN19bYiWj6UAQsE4RQrU8ji6ra5lCBunPuqx1XmFwb0BoRbptp0O55nPa5 VzTpQpXoFC8HXzIzATmcEZJJ4/gRFHxScEqzVJpOIntoY1RCmydeLM0EgNFxf3bkM0lCsE imzqSORTl9kl7GU7G8x+nv84YF/L5u9xU/4dswAy+vIwcWsFYqjnX4ehv1vlZGs4MmOzw4 YjcC5be4xK0nI1IjwcExQMrEvEu9o51cSRyWrmJiK7JRi7Ju8rhyI8x9k2XVZA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624639213; a=rsa-sha256; cv=none; b=OhXhevzppCTCOKp6+o/H+A9HZp5CobTdvHxV3er/+QNPFyZO1cJBMxCdHBB5NnrAbdiR4W 7B9YmzKdzMfY5Eg4+MshoGljysnyyxLnzoCkKaWURsiMkEpkN2GZMOvHgTRNoCUjNbZ6qC 0TEyWnCiTjMOKJpUC3G9zktgCBxTAtxYtRMYymo0eQVTSIusJ2nHLfxtpEZN4UcEe0eNRy f58aetbDw5eSdkPVqYM1l2IKUKuWc3G1a88ek/l63hrYQ1emeJ4xazlJ6V/nn7/ESDXfxM PNYSnSS35Kf97JB9A0QGCsClExQwn2iK9OAhKRxvLfZ8o6kQF9X4r/FaRmfmZg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=nzeVuZO6; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=nzeVuZO6; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 90FAC2311D X-Spam-Score: -1.33 X-Migadu-Scanner: scn1.migadu.com X-TUID: i05/asF3SxRw Hello, Ludovic Court=C3=A8s writes: [...] >> Perhaps it'd be best to raise the issue to the package maintainers and >> have them specify their metadata correctly? > > Going back to the example at the beginning of this thread, what =E2=80=98= guix > import pypi tablib=E2=80=99 produces is missing =E2=80=98python-setuptool= s-scm=E2=80=99. > Indeed, =E2=80=98METADATA=E2=80=99 doesn=E2=80=99t mention it. > > Is it really a bug on their side, or is it something peculiar about Guix > packaging? Perhaps =E2=80=98python-setuptools-scm=E2=80=99 should be pro= vided more or > less by default? Hmm, sorry, I had lost track of what the original missing dependencies were. In this case (setuptools-scm), it is special in that it extends the setuptools build system; it must be loaded early by setuptools, so perhaps that explains why the dependency doesn't show as required in METADATA. I think going forward with the revised PEP 517 build system [0] will alleviate such issues, by allowing to declare the build system and its dependencies in a TOML file. In the mean time, the statu quo seems the best option to me (manually specify the setuptools extensions as native-inputs for the python packages that need it). We should look forward adjusting our importer to the latest PEP 517 trends (along the PEP 517 build system patches awaiting review for core-updates!), which are quickly becoming ubiquitous in the Python world. [0] https://www.python.org/dev/peps/pep-0517/ HTH, Maxim