From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id eNZ3OTX+AmZpIwAA62LTzQ:P1 (envelope-from ) for ; Tue, 26 Mar 2024 17:56:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id eNZ3OTX+AmZpIwAA62LTzQ (envelope-from ) for ; Tue, 26 Mar 2024 17:56:22 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=bioneland.org header.s=20230804 header.b=IAdXgdeM; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1711472181; a=rsa-sha256; cv=none; b=ItR2bfTOQXwFoMBdfDwanZlTtqxrLN3TdPPAbiXXqCXkqOzReC9wZnGAGxmaYJ0cTiFrKv JoCbPdARiUD2m2MCnY5PqUOeDAcUHNsE5i/dadqk4hi+0l7g20IkyvIHnlaemk8mncslv/ 5DCwlJttuOnJUq2TmHpaH9MVQ+ntV3R8Z4kq7TT02F7XnCBCSDeZePs+9NpoqoDcY2CRqz 9qK0n648g10t/vfDn98G6yi7mNZii5lzXLSQT4iNlRtSM/Ivc8wKb5vy8mQytZUv/lbceu H1IawQpv7bOzE+VUviD5K4Aw0Kxifge5WxGqXkBgyCpBbEWRYuKA16SKpx4z5A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=bioneland.org header.s=20230804 header.b=IAdXgdeM; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1711472181; 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=lRGdHJVUAM5ntWp4HS4IH1MYtLKupir4lV3jjlCiSio=; b=kgPzEmMiIV+gTKFmTz7OjWkM9Mld11d/i3cp4SQuTQhUwK6F0txS3W4LumfOweNKU0HCBY ADinJII3PGJa95JLBavczB92fGHv3bfOPV2Ny/h41QoXTxh/S1OayGH7VmAE6cdZZmPNXl c3Yok1N3oJmZklGIb1I8qqFl7vz04V/KN3D3UBxxGE53OedSUS2l7x8IgRNeuyESguqJza L8C5PpSsVrCAh/gl39Np+oQmmmN+qySQrPsOBClvsDx5nWRi0kptYchuvOT0KdwyoYaD1z qw9kX/X2+wwWV/P4/VtLC20d6H895NFZDV8ex1bb38yc5wKSRO77eWRxMvDIwA== 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 A20CD22E07 for ; Tue, 26 Mar 2024 17:56:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rpA5m-0001q1-Tz; Tue, 26 Mar 2024 12:56:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rpA5k-0001nx-Ep for bug-guix@gnu.org; Tue, 26 Mar 2024 12:56:04 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rpA5j-0002SN-0r for bug-guix@gnu.org; Tue, 26 Mar 2024 12:56:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rpA5i-0005nL-J4 for bug-guix@gnu.org; Tue, 26 Mar 2024 12:56:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#69997: Should =?UTF-8?Q?=E2=80=98guix?= import =?UTF-8?Q?pypi=E2=80=99?= get dependencies from pyproject files? Resent-From: Tanguy LE CARROUR Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 26 Mar 2024 16:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69997 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Sharlatan Hellseher , Munyoki Kilyungi , Lars-Dominik Braun , jgart , Marius Bakke , 69997@debbugs.gnu.org Received: via spool by 69997-submit@debbugs.gnu.org id=B69997.171147213722234 (code B ref 69997); Tue, 26 Mar 2024 16:56:02 +0000 Received: (at 69997) by debbugs.gnu.org; 26 Mar 2024 16:55:37 +0000 Received: from localhost ([127.0.0.1]:34815 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpA5J-0005mY-46 for submit@debbugs.gnu.org; Tue, 26 Mar 2024 12:55:37 -0400 Received: from smtp-1908.mail.infomaniak.ch ([2001:1600:4:17::1908]:59459) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpA5E-0005lu-PQ for 69997@debbugs.gnu.org; Tue, 26 Mar 2024 12:55:34 -0400 Received: from smtp-3-0001.mail.infomaniak.ch (smtp-3-0001.mail.infomaniak.ch [10.4.36.108]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4V3wsT2rD3zYxw; Tue, 26 Mar 2024 17:55:25 +0100 (CET) Received: from unknown by smtp-3-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4V3wsS4XZDzMpnPl; Tue, 26 Mar 2024 17:55:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bioneland.org; s=20230804; t=1711472125; bh=lRGdHJVUAM5ntWp4HS4IH1MYtLKupir4lV3jjlCiSio=; h=References:Subject:From:Cc:To:In-Reply-To:Date:From; b=IAdXgdeM4JmVVdttNBjUs19Vz6FGEDXVg9/y+B9EvvLKL9vxQZiTlAkuasOLqpZew iaILv88Z6+zLMkNzSorid61SBOfLBC7wk/uLtotczWGra8bb6gkIIN22KzLbE2VBTu 330sssu0k3MOJ88evCEmLJD4uRE8p7dsMPMMS4VDhqG5UjCeecRx4aF5zTUFxtZhVn +CJJz3LayPNxKBsstZc6e4DaruBmjYtAtRF5Yy2Nj/Fa0utrq99vXqj41uWe6YCLGS oveXEOcHclzO4zvW2ccWHwrydhYTC+FVDLjtX1cbg6L+edNuc3Up/9rrA4o/BvAdS+ 7SB/1aWdByZXw== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable References: <877chqtvsk.fsf@inria.fr> <171143965734.4362.8405481724513962855@bioneland.org> <87o7b1ou6z.fsf@inria.fr> From: Tanguy LE CARROUR In-Reply-To: <87o7b1ou6z.fsf@inria.fr> Date: Tue, 26 Mar 2024 17:55:23 +0100 Message-ID: <171147212395.13452.3553266600176809571@bioneland.org> User-Agent: alot/0.10 X-Infomaniak-Routing: alpha 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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: 2.46 X-Migadu-Queue-Id: A20CD22E07 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: 2.46 X-TUID: 0agkJc8RZWcv Hi, Quoting Ludovic Court=C3=A8s (2024-03-26 17:04:52) > Tanguy LE CARROUR skribis: > > So, my answer would be: do not import from PyPI! Yes, I know, it=E2=80= =99s radical! =F0=9F=98=85 > > But if you have to, rely on the wheel=E2=80=99s `METADATA` file. > > > > I hope this make sense. =E2=80=A6 I=E2=80=99m not really sure any more!= =F0=9F=98=85 >=20 > It does! >=20 > But then I mean, we could offer, say, =E2=80=98guix import upstream https= ://=E2=80=A6=E2=80=99, > and that thing could parse =E2=80=98setup.py=E2=80=99 or similar to produ= ce a package > definition from that. I=E2=80=99m not against a good-old-generic-solution=C2=AE, but this one mig= ht be a bit=E2=80=A6 too generic. It contains no mention to Python, so the next l= ogical step would be `guix import URL`. Not that I would not like it, though! =F0=9F=98= =81 So I would say=E2=80=A6 let=E2=80=99s wait and see what the others think. I= n the meantime, I=E2=80=99ll have to dive deeper in the PEP and the actual import= er code. > Maybe that=E2=80=99s what you had in mind: import straight from upstream = rather than via PyPI? I actually had nothing in mind! I blacked out after sending this email. Too many emotions at once, I guess! I had no clue it was such a mess. =F0= =9F=98=85 --=20 Tanguy