From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id wEQ0Ope2WGQSBgEASxT56A (envelope-from ) for ; Mon, 08 May 2023 10:45:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id oDXrOZe2WGQLFwAAauVa8A (envelope-from ) for ; Mon, 08 May 2023 10:45:11 +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 C99D9119D1 for ; Mon, 8 May 2023 10:45:11 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pvwUS-00038g-T2; Mon, 08 May 2023 04:45:04 -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 1pvwUQ-00038W-Oj for guix-patches@gnu.org; Mon, 08 May 2023 04:45: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 1pvwUQ-00073Q-Ff for guix-patches@gnu.org; Mon, 08 May 2023 04:45:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pvwUQ-00023f-9B for guix-patches@gnu.org; Mon, 08 May 2023 04:45:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63139] [PATCH python 02/20] gnu: Add python-pyproject-hooks. Resent-From: Lars-Dominik Braun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 08 May 2023 08:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63139 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: John Kehayias Cc: 63139@debbugs.gnu.org Received: via spool by 63139-submit@debbugs.gnu.org id=B63139.16835354617834 (code B ref 63139); Mon, 08 May 2023 08:45:02 +0000 Received: (at 63139) by debbugs.gnu.org; 8 May 2023 08:44:21 +0000 Received: from localhost ([127.0.0.1]:39119 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pvwTl-00022H-1m for submit@debbugs.gnu.org; Mon, 08 May 2023 04:44:21 -0400 Received: from mout-p-202.mailbox.org ([80.241.56.172]:35214) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pvwTj-000224-2l for 63139@debbugs.gnu.org; Mon, 08 May 2023 04:44:20 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4QFFFl1DLbz9sTM; Mon, 8 May 2023 10:44:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6xq.net; s=MBO0001; t=1683535452; h=from:from: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: in-reply-to:in-reply-to:references:references; bh=7MlwA13vq3mD54S3ui3IoAJlpdc5mwtREJzXexwgfII=; b=uosevWXTXKeNzBd4FkwAtSnxCiWGoFpZ0rqNoINzxkeIVZkM0pM8PKWdvRv9JnIakjOTH7 yDQJKJZwZsnejkfHKrOv0bSPIJmvTmWnawd08mDpRtByaBs0YlsWvkCAn6rVySnpd+GR5S xZlOPzImaOb6o1WH6k+nZpLjQAa6GhO2pVOnNshVc2Lla85x+Sq4+yCrHNJBgxq5kOUojz f4D8+uiGkqiMyMlb5Q54H88uEIU06ukBxDhRzu6UfrrGXZCurcmzgW14H/+Lzg4tYxYEIt FYagTTE+K+rnvE3TCC7Ik8i+Vq1/tOJv7jPF0l6GHhVrBeU1s9PAguNkHs5VCw== Date: Mon, 8 May 2023 10:44:09 +0200 From: Lars-Dominik Braun Message-ID: References: <76a7207a210365b23c078895f444109e240d2c7f.1682660104.git.john.kehayias@protonmail.com> <87pm7fzrby.fsf@protonmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87pm7fzrby.fsf@protonmail.com> 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683535511; a=rsa-sha256; cv=none; b=aL/hggGUmEDEJ6cZAI+G5wJt4IfjsiXYivhT/3yeM1ukc7IbTf/328dOraScCq7F7X5Alp 6UX6fZnd79GbvXWcJZ/ioFXvd8YXIeyoFnyCAptyYT7BUTYPe85yTyffnI6UkjjOVrq08v sl22PKYGFK2XjpIcQ0meWKBZsje57/qrFCXcpnhF4W006joHPwuKuiXYwqEq/e0BUStDjG kwDX3xn9mDpjwAib6w79avkRN9TCc2mKCxociTBvP7LPF9clwQkLZnhySRgL0/mdzXF1dJ 5rNQU81eccTvMOZ3aa2SfOi+FNUGp0y2epI5j1TQ8lAC2czSghrLkBU+1NKPqQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=6xq.net header.s=MBO0001 header.b=uosevWXT; dmarc=fail reason="SPF not aligned (relaxed)" header.from=6xq.net (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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683535511; 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=7MlwA13vq3mD54S3ui3IoAJlpdc5mwtREJzXexwgfII=; b=jg00a7OYn9WTxTX+aEyxjCjkycQGuuDmziv6rrvJtHpgSjRlu+6D8lMBTGSTaONnYtUjiA 0ktEHk4TGcOUUAhHCNhHL2rrTQem5oVeNXEEkbWj+i2K4rMAWF0wKwXgIUIKCM0grQNJbM JjNZntD/JeanxUtSTsiWPJ2V71oSSBNhicux3YfsgU4aovOEc72rmwByucCfUnP7dTfUJi nwiKn61R/D4CFXIc9PpCyrKXKmP2rteDHI/aNJj/7z/OHe9208lMfBIcP5vxE1eSgQdP/L tgluQywWBId9jupcOjxZHo1PYE8FLs589tUY9+UXC1YSc08Rwr7JU8d3HdT8dA== X-Migadu-Spam-Score: -0.61 X-Spam-Score: -0.61 X-Migadu-Queue-Id: C99D9119D1 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=6xq.net header.s=MBO0001 header.b=uosevWXT; dmarc=fail reason="SPF not aligned (relaxed)" header.from=6xq.net (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-TUID: aKpWJfb6+boB Hi, > From what I remember and > thought, the newer python-pypa-build needs python-pyproject-hooks. > Which itself would be built with pyproject-build-system, creating a > circular dependency. ah, yes, you’re right. For some reason the current pyproject-build-system differs from my original proposal and bundles python-pypa-build in python-toolchain (even though it is not used). As we can see from this example doing so is a very very bad idea (because it leads to cycles). > But, I don't know anything about flit_core and > that system. So you are saying flit_core is used to build each of > these without a cycle then? > Can you layout what the new structure would be for updating > python-pypa-build with python-pyproject-hooks then? (And then > deprecate pep517.) In theory that would be possible if python-toolchain did not depend on pypa-build. Looking at the respective pyproject.toml files flit-core is entirely self-contained and can be built using itself. Then you can build pyproject-hooks, packaging and tomli using flit-core. And then pypa-build can be built using flit-core and all of the previous packages as dependencies. poetry-core is also self-contained and can be built without any dependencies (and the full poetry should never be required to build any project, but obviously packages in Guix use it for that purpose -.-). But none of this is really necessary, because – again – pypa-build is not used by pyproject-build-system. So I propose the following: - Create a python-team branch. - Use python-sans-pip-wrapper as default-python in pyproject-build-system, like I originally proposed and add python-setuptools/python-wheel where necessary. - Implement backend-path in pyproject-build-system, so we can bootstrap flit-core/poetry-core/… properly. - Expose ensure-no-mtimes-pre-1980 (#63044). - Finally fix python-yubikey-manager. Anything else that’s broken right now? Cheers, Lars