From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id iHcFLaFXz2UWgAEAe85BDQ:P1 (envelope-from ) for ; Fri, 16 Feb 2024 13:40:01 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id iHcFLaFXz2UWgAEAe85BDQ (envelope-from ) for ; Fri, 16 Feb 2024 13:40:01 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=6xq.net header.s=MBO0001 header.b=1TT4Sed6; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=6xq.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708087201; 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=RdK1+GeG/Env+ZuhgIQ1wqT+CWpA3lphh68Y6V7B7pI=; b=bnxBzq7wCnllba/xPjIPlxwg4FDPAssvGYI0GCB/LewqCxLCDt22w+BqLeYy5VJRCOgWMf khErZjkJBpT1M9z0OgbzTN7DwNauEYj67i1K8uLg0LV4PITev7pIUHKJBGbxYL59AIZzP4 rfjuAUzs/N9NogWp3eZNNXWELibaQxKRJUaQEgfMasNgB80joFg8wZpxl875TJBnubFfhR m8xmmMe/m+Rr1Rt+OHCKt0R9TdjC/Wns0i3ajmiDKZikb4FFu0lYq0FtJ7R46FbA59JFsb qXH3khI4Ekh4UqD0GRbkGlr8q+PAilzkgAYCw42RZE1TbLjELML/RzN0+2DnTQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=6xq.net header.s=MBO0001 header.b=1TT4Sed6; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=6xq.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708087201; a=rsa-sha256; cv=none; b=UE81Ok90rQIK2DAo5DDEmcPE+769LXzEXsERnOL8snlpE8LDa9MSFfN7ofgB1XvzpU3IFy oza42LcZ8bhDSEMKISf8D5A746WaF237dcQLCSopnltO2rrRk3RM+JMlEPB0KHpQktVbrQ uHqaS+KN5mSlSm0KnqBiXyyMKyWabHlFeRuuSS5qXOHObASjEh5jhHR+wRkKvqJAL95LoB kLLjqYYsji6/9tI8lvRgvykEROL+LSS9JCTY2KeJcK8Cr+P4ufYuSZLdIrWfMK6s2qs3tx DW3+CkZk41Z9zQOXgXPaEf8koso8Up8xRDqUsWVnfaNtS8TsZkbftGD7ABPIRQ== 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 82B2C681B5 for ; Fri, 16 Feb 2024 13:40:00 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1raxVS-0007z7-Fe; Fri, 16 Feb 2024 07:39:54 -0500 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 1raxVH-0007xr-Va for guix-patches@gnu.org; Fri, 16 Feb 2024 07:39:47 -0500 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 1raxVH-0003ZW-KS for guix-patches@gnu.org; Fri, 16 Feb 2024 07:39:43 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1raxVa-00083Z-86 for guix-patches@gnu.org; Fri, 16 Feb 2024 07:40:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#65010] [PATCH 0/8] Misc Python build system improvements Resent-From: Lars-Dominik Braun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 16 Feb 2024 12:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65010 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ricardo Wurmus Cc: 65010@debbugs.gnu.org, Marius Bakke Received: via spool by 65010-submit@debbugs.gnu.org id=B65010.170808716930923 (code B ref 65010); Fri, 16 Feb 2024 12:40:02 +0000 Received: (at 65010) by debbugs.gnu.org; 16 Feb 2024 12:39:29 +0000 Received: from localhost ([127.0.0.1]:57978 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raxV3-00082h-1Z for submit@debbugs.gnu.org; Fri, 16 Feb 2024 07:39:29 -0500 Received: from mout-p-101.mailbox.org ([80.241.56.151]:59708) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raxUy-00082H-FM for 65010@debbugs.gnu.org; Fri, 16 Feb 2024 07:39:27 -0500 Received: from smtp102.mailbox.org (smtp102.mailbox.org [10.196.197.102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4Tbs1X2N0Kz9slD; Fri, 16 Feb 2024 13:38:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6xq.net; s=MBO0001; t=1708087136; 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=RdK1+GeG/Env+ZuhgIQ1wqT+CWpA3lphh68Y6V7B7pI=; b=1TT4Sed6SBe+AL7L5PI3HAJ+YZLhVt50it5MDy3Zx+NOH0x2OsCE5OPgKonJJg3ub/XITd qxQ6VI8foeBef3DA9+vfs8K/viI+H+6OE0bZ6JjmBeCQEtvR1SBCo/htW337vc7kqjGtYg vCjsB5nydX2xlcsZk3tNYK6L4CWayb5sinmgY1PxKARsZWyA6DmLRl6pWpxD0xXLibryHZ 90FlvwjPuxNMNdxZvATWop6NbEWcdgvaIgJc7Gr8q7nkY50KCGczPNVHRoTKL+s0XaRJ/q exUxjJoox/chT7o/HODAn74Qd/1sYlA5GWsUmasxcgGc5oEv/Dg6EMyLFVQ+Gw== Date: Fri, 16 Feb 2024 13:38:51 +0100 From: Lars-Dominik Braun Message-ID: References: <87h6igsecw.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87h6igsecw.fsf@elephly.net> 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 X-Migadu-Spam-Score: -5.47 X-Spam-Score: -5.47 X-Migadu-Queue-Id: 82B2C681B5 X-Migadu-Scanner: mx11.migadu.com X-TUID: JQxwIDBw+pPI Hi again, > Lars, do you have a final version of this patch series that we could > merge into the python-team branch? It looks like apart from very minor > issues this is ready. as you suggested I pushed the updated version to the python-team branch, deleting my own pyproject-toml branch. Unfortunately the python-setuptools/python-wheel situation is not easily resolvable, since – contrary to my initial assumption – python-setuptools does not depend on python-wheel, but rather the latter extends the former and is only required when using setuptools, but not for other build backends like flit or poetry. Therefore I kept my changes as-is, adding python-setuptools and python-wheel to native-inputs/propagated-inputs where needed. Not pretty, but that’s PEP 517 in a nutshell. Since it’s been a while and more packages have been migrated to use pyproject-build-system this will probably break a few packages, which do not have these two packages added yet. We’ll have to wait for https://ci.guix.gnu.org/eval/1123219 to finish to assess the damage done. There are two possible failure modes: 1) Build-time failure: Usually the build will complain about setuptools not being found. That’s an easy fix, just add setuptools and wheel to the native-inputs. 2) Run-time failure: The deprecated but still heavily used pkg_resources is missing during runtime, because it’s part of setuptools. This one is harder to detect, but once all packages have been built we should `grep` for pkg_resources and figure out which of the consumers don’t propagate python-setuptools. Cheers, Lars