From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aC2+FUq8WmOR4QAAbAwnHQ (envelope-from ) for ; Thu, 27 Oct 2022 19:13:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id EGvEFUq8WmOIOAAAauVa8A (envelope-from ) for ; Thu, 27 Oct 2022 19:13:46 +0200 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 EAA6CF984 for ; Thu, 27 Oct 2022 19:13:45 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oo6RO-0008E0-H6; Thu, 27 Oct 2022 13:13:14 -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 1oo6RC-0007YS-QS for guix-patches@gnu.org; Thu, 27 Oct 2022 13:13:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oo6RC-0006QS-JA for guix-patches@gnu.org; Thu, 27 Oct 2022 13:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oo6RB-00033p-Vi for guix-patches@gnu.org; Thu, 27 Oct 2022 13:13:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58587] [PATCH 04/14] build-system: Add pyproject-build-system. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 27 Oct 2022 17:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58587 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Lars-Dominik Braun Cc: 58587@debbugs.gnu.org, Marius Bakke Received: via spool by 58587-submit@debbugs.gnu.org id=B58587.166689078111758 (code B ref 58587); Thu, 27 Oct 2022 17:13:01 +0000 Received: (at 58587) by debbugs.gnu.org; 27 Oct 2022 17:13:01 +0000 Received: from localhost ([127.0.0.1]:59180 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oo6RA-00033a-Ll for submit@debbugs.gnu.org; Thu, 27 Oct 2022 13:13:01 -0400 Received: from mail-qk1-f175.google.com ([209.85.222.175]:34508) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oo6R5-00033L-VH for 58587@debbugs.gnu.org; Thu, 27 Oct 2022 13:12:59 -0400 Received: by mail-qk1-f175.google.com with SMTP id 8so1478424qka.1 for <58587@debbugs.gnu.org>; Thu, 27 Oct 2022 10:12:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=DBJJaSc0dfEYZtygDYI8S6awXPi9tCc8/RiiOzSz5Fc=; b=VgCNCZSFgPvdsv1uVd2lRHrAViHRgt/9HQm8Ul0subN+83GfS6p9qIOwja/Hchz6Sm pz7zHg6MV9gxYj7pPq9I7YR3OKrkY/EcMM+QkDWMXveUJmj21YousjJpvJFUp4+tMmIh h4WJKbqZEIPAA0c9VZ4LS9bCTv9RhWufcnEXE5/jOR2cTlTQeFW5uEktxeq19ocpKKlW pO4/HlGw1DmftZ0XWiIMUfP6BGia2QBSsipC+emfPJOw9xRxRtU+J01g2LWeReFIYpre mQQO+/f96xqvg3tX1cP1Atrs8gq9ov+hmdHFU+AW6w1VzDkBGQGPJjmf8OszAzT6CDq/ swvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=DBJJaSc0dfEYZtygDYI8S6awXPi9tCc8/RiiOzSz5Fc=; b=CaG2sPbu0WYsbUjt7A0n6YPAPD5v8iMJpl5S/7n6A3yxc4f2oLlaK0jqvZn//E2qt9 AbM7upoGWLSLEKrbmrZz2NucRWTIG92I2XZPxhFu0JjaOeO65R3Nxc0tgIte695Zg70Q yfFkJl1B+48vk3eatfXfdeh5/eMXnukio1QUs5GcVRS/EqUibh/fv+e5gP57QDyDnCiY hY3MDaIgk3/XjD5edk/Hz0Nn10QM5+e94WDdw6lThjjh62mZwm4sxu5haMmBSQbVdcex 1hgJNqnC2sC9ZxKv8yhc//vLOw+FN3dXO2RpZXB8hWcou9kH23hP51rIKQoR/W34FVib by2Q== X-Gm-Message-State: ACrzQf0FXI+qcQxl5kiOEh0BXa9eiu6o6dzs9ovVDefMlZ2KzG5Na2wN ZMJ35Uvct+RJeJ3FF74Dw21c7+Dte9wWpw== X-Google-Smtp-Source: AMsMyM4U24nR4qeVHl/ya91exP5xOVhLbRXftfVie5yiEZ4M07Fy0JNmSmSw/PLCI8DxrV24jF5oLA== X-Received: by 2002:ac8:5702:0:b0:39c:f612:29b8 with SMTP id 2-20020ac85702000000b0039cf61229b8mr42004145qtw.68.1666890759752; Thu, 27 Oct 2022 10:12:39 -0700 (PDT) Received: from hurd (dsl-152-179.b2b2c.ca. [66.158.152.179]) by smtp.gmail.com with ESMTPSA id f14-20020a05622a1a0e00b00398d83256ddsm1178984qtb.31.2022.10.27.10.12.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Oct 2022 10:12:39 -0700 (PDT) From: Maxim Cournoyer References: <20221017200624.4076-1-marius@gnu.org> <20221017201201.4808-1-marius@gnu.org> <20221017201201.4808-4-marius@gnu.org> <87zgdhjqgr.fsf@gmail.com> Date: Thu, 27 Oct 2022 13:12:38 -0400 In-Reply-To: (Lars-Dominik Braun's message of "Thu, 27 Oct 2022 17:17:05 +0200") Message-ID: <87v8o5i41l.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (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: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Guix-patches" Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666890826; 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=DBJJaSc0dfEYZtygDYI8S6awXPi9tCc8/RiiOzSz5Fc=; b=cksoUzIAklloD6FIWbWVgySH0/WAAOJKUSN3ZWAbT25fwmg+W23Cfq9Ea3AOBklM8pD+Wt aEd0BT27am0pCLn+pGnVd9BB15TvevcuQ6OZ3TSgdsOTkqBL5r4N6vrXLVwRwm8I8wHod/ 5uZbtSVj3Nerk87gQkygCqWaHCPZ1bijQX6Dn2He2vblwNbzwudelrhHiLJ0xu7xANsZgl mIK69hS0rnlsR2UGPk47A3TdNxKAN0GVkDmvPgdbZMfVLIfMkLgI1OmTMrHn/3my16NGZD vJLgKaBN+BCr4J5YsFceNLV9hcKwQTho4Vvxg4WbE1QN/qgNddHVmsnwUoSUsA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666890826; a=rsa-sha256; cv=none; b=HoGaMtIoSUxYLobFVPRFJ4oR/QEC9KNcZzrqsduf1GhdUbsWP7FW1vmzcKlretjTr/Vq0d Zjivs60oNVNCqUdvdg9wex19K4FQGbYO6el1XsrOzav1hnfJ1DSxj+ZrGw41g23ziOdtXt xViIWVRYQZBk2Tho032BbqQvzs3/mYXCaERYWUUJvikLF1sAwOmd8yTRR1D9cQKF6RJNhJ Z79A9fX7UYS1O2PGsIrXSqTRa/cY76vtWQRGjmUgIbWUVrlQ58IfpQFc3rBYpXFfW37ok7 vm94coN9eY0+DytUPNtvg9/c8GajfKlyOoWxv4A1lPHvbsdqF+dVCDljPPIrNw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=VgCNCZSF; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.98 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=VgCNCZSF; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: EAA6CF984 X-Spam-Score: 5.98 X-Migadu-Scanner: scn0.migadu.com X-TUID: HrlKCdhll5km Hi Lars-Dominik, Lars-Dominik Braun writes: > Hi Maxim, > > as the original author, I might be able to answer a few of these > questions. > >> Not sure how this #!python shebang comes into existence; as that isn't a >> valid one. Perhaps double check things here? > As mentioned by the docstring of INSTALL this conforms to PEP 427. OK, thanks for clearing that up for me. >> Phew, that's a lot of parsing and manual handling of things. I'd rather >> we leave this to uptream tooling instead of having to maintain that >> ourselves, but based on previous discussion it remember that >> bootstrapping pypi was thought too difficult. > Last time I checked installer (https://github.com/pypa/installer) > wasn=E2=80=99t in a good enough shape to use it here. We=E2=80=99d still = have > to write a few lines of Python code, since it does not come with an > executable. Bootstrapping pip is pretty much impossible due to the amount > of vendored components. This sounds like the kind of tool we'd want to use longer term, to avoid having to go back to the drawing board every time the Python community changes their mind on packaging matters (which is relatively often as of late). That said, I think the current approach can get us started, since it's already done and seems to work fine so far. --=20 Thanks, Maxim