From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id YOixKCQsVGTyHQAASxT56A (envelope-from ) for ; Fri, 05 May 2023 00:05:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mAzoJyQsVGT7OAEAG6o9tA (envelope-from ) for ; Fri, 05 May 2023 00:05:24 +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 5112C283C2 for ; Fri, 5 May 2023 00:05:24 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1puh4R-0002Jt-Db; Thu, 04 May 2023 18:05:03 -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 1puh4Q-0002Jl-8N for guix-patches@gnu.org; Thu, 04 May 2023 18:05: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 1puh4P-0001AF-Va for guix-patches@gnu.org; Thu, 04 May 2023 18:05:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1puh4P-0003HE-P6 for guix-patches@gnu.org; Thu, 04 May 2023 18:05:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63139] [PATCH python 02/20] gnu: Add python-pyproject-hooks. Resent-From: John Kehayias Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 04 May 2023 22:05:01 +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: Lars-Dominik Braun Cc: 63139@debbugs.gnu.org Received: via spool by 63139-submit@debbugs.gnu.org id=B63139.168323788412566 (code B ref 63139); Thu, 04 May 2023 22:05:01 +0000 Received: (at 63139) by debbugs.gnu.org; 4 May 2023 22:04:44 +0000 Received: from localhost ([127.0.0.1]:52244 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1puh47-0003Gb-KY for submit@debbugs.gnu.org; Thu, 04 May 2023 18:04:43 -0400 Received: from mail-40133.protonmail.ch ([185.70.40.133]:36955) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1puh45-0003GH-Jn for 63139@debbugs.gnu.org; Thu, 04 May 2023 18:04:42 -0400 Date: Thu, 04 May 2023 22:04:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1683237875; x=1683497075; bh=0rhcOCou96NxujNxkGeYEAN/8g6bMp791gp+3L/456c=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=P6CNFlOZtWMsVhgsQv0eu5EoXMGcS8qFQt4vku5FvLAiTgZAowk735yph4ayYEdLR iay4z42AFvk8lglqIb5Kstc7Q5nnbdsAlSKSru547GwZCeCxTOXWIgeAnuJpJZDAX8 N9TT0XtY9y8vyYFFzkkIDuumuWt4ZPHMh6rZ9NMeNZttfaxJJT5keNtS9zyZj2M5vt nIoNIwuSITJESMgeQV18kM9QzXOu9OEAIl+opCImZSz22lYLS8STkh/5hRS5I6JDOq Fz5AtFIuy1LFdHJu760LbkuDSxAoDZyCFcwwe8YpvOZ6NfFzkGwL/z4YtFJr2PcsC7 JmRl25qtIL1cQ== Message-ID: <87pm7fzrby.fsf@protonmail.com> In-Reply-To: References: <76a7207a210365b23c078895f444109e240d2c7f.1682660104.git.john.kehayias@protonmail.com> Feedback-ID: 7805494:user:proton 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: , Reply-to: John Kehayias X-ACL-Warn: , John Kehayias via Guix-patches From: John Kehayias via Guix-patches via 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=1683237924; a=rsa-sha256; cv=none; b=LCScK6tY4AY2Ur6wPEcJzS6HTkrcVsImJTspkXQ41yebyA0gUEuVhRJqXoJVscdaiprkCZ qPE6I581pFzre6ZmzKTMmyPyEuYCZQcSsRsrEFdYY0KB6gfvSt1pLVD2oygdnOkh2JIMJG Dbj4BIro1YdaTIpPOf8ILN4I9J+8VsBVTXDBn+3GTKgwomrFlNOSPA9MEOcWC6FQu7FSSl lrjQQ0yzbegAid6wpAu93jseXcM5X7E4M1OHoN+4ExIj+R1TC9/uaYxuyrVS0vXTf6kX2R iyNy6hkju4450bnFCumjL0XgHfjbg+UjifCKr70SFveL5pj3ERoxaAUOZRItiQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=P6CNFlOZ; dmarc=pass (policy=none) header.from=gnu.org; 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=1683237924; h=from:from:sender:sender:reply-to: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=0rhcOCou96NxujNxkGeYEAN/8g6bMp791gp+3L/456c=; b=HXKmUTyiMJKJ/LkIzye/Bpc1+Rivjr/KwuqGU2Ec/i9Q2jpE/xEmoFKwjKkaEUOt+2EHJk Q6x47l/b7MCnTYzVV5Nzb9X1B2rLmEE7jNN0c+wBcyAM9JB+1aSRpfI9Y6KrgEu6TV1HQE gSQiwMDTueHc2F7UpJmlUzhXq+eKTkxSPhvRHFnBDIHzc+MK3KOq+br1aDVktoEABux0Cz BSctGmfoUf+TEBXWTTarol1yg505CFQnZZsflf1QFbZTGxBVfh5olOHN3o7PdQqpmrFF8J FpyppUhuEGAlW6fSUTvOC0XI2YpSl9IxAFR0FcZ/o6GJRjVJ/DGPeAyp7/eHXQ== X-Migadu-Spam-Score: -3.30 X-Spam-Score: -3.30 X-Migadu-Queue-Id: 5112C283C2 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=P6CNFlOZ; dmarc=pass (policy=none) header.from=gnu.org; 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: mJC2MkeLzvT8 Hi Lars, On Mon, May 01, 2023 at 08:58 AM, Lars-Dominik Braun wrote: > Hi, > >> + (replace 'build >> + (lambda _ >> + (invoke "python" "-m" "build" "--wheel" "--no-isolat= ion" "."))) >> + (replace 'install >> + (lambda _ >> + (let ((whl (car (find-files "dist" "\\.whl$")))) >> + (invoke "pip" "--no-cache-dir" "--no-input" >> + "install" "--no-deps" "--prefix" #$output = whl))))))) > > why is this necessary? As far as I see pyproject-hooks wants to be built > using flit_core, which we have a fully bootstrapped version of. Same > for pypa-build, which =E2=80=93 as far as I can see =E2=80=93 also builds= using flit_core. > This gets to what I wasn't sure about, what exactly needs to be bootstrapped and what depends on what. 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. 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.) Thanks! John