Message ID | YmUUw8u0rTL6GU5Y@noor.fritz.box |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D3BDE27BBEA; Sun, 24 Apr 2022 10:19:27 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_SBL_A autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id EF31F27BBE9 for <patchwork@mira.cbaines.net>; Sun, 24 Apr 2022 10:19:22 +0100 (BST) Received: from localhost ([::1]:42020 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org>) id 1niYOo-0006Tf-4N for patchwork@mira.cbaines.net; Sun, 24 Apr 2022 05:19:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52480) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1niYJe-0000GK-Qs for guix-patches@gnu.org; Sun, 24 Apr 2022 05:14:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35478) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1niYJe-0000bW-H6 for guix-patches@gnu.org; Sun, 24 Apr 2022 05:14:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1niYJe-0000Rq-8h for guix-patches@gnu.org; Sun, 24 Apr 2022 05:14:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#46848] [PATCHES] [core-updates] PEP 517 python-build-system Resent-From: Lars-Dominik Braun <lars@6xq.net> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 24 Apr 2022 09:14:02 +0000 Resent-Message-ID: <handler.46848.B46848.16507916371704@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46848 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxim Cournoyer <maxim.cournoyer@gmail.com> Cc: 46848@debbugs.gnu.org, Marius Bakke <marius@gnu.org> Received: via spool by 46848-submit@debbugs.gnu.org id=B46848.16507916371704 (code B ref 46848); Sun, 24 Apr 2022 09:14:02 +0000 Received: (at 46848) by debbugs.gnu.org; 24 Apr 2022 09:13:57 +0000 Received: from localhost ([127.0.0.1]:57609 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1niYJZ-0000RQ-Cb for submit@debbugs.gnu.org; Sun, 24 Apr 2022 05:13:57 -0400 Received: from mout-p-102.mailbox.org ([80.241.56.152]:53594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <lars@6xq.net>) id 1niYJX-0000R2-Dt for 46848@debbugs.gnu.org; Sun, 24 Apr 2022 05:13:55 -0400 Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:105:465:1:3:0]) (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-102.mailbox.org (Postfix) with ESMTPS id 4KmMrr69x5z9sT4; Sun, 24 Apr 2022 11:13:48 +0200 (CEST) Date: Sun, 24 Apr 2022 11:13:39 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6xq.net; s=MBO0001; t=1650791626; 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=kzs3otwLpZAn6ibU6bOVsP/FFnSrJlJWEXDgPiCOIa0=; b=juSKHVoh88CUQRfCl3Z1AceGoxk0w53HQ+yZB4dh9KsIXU4dgyeT4jRbIVvShd8DCM/AEI CLCZNC6aygUkyYFfog4yqw5d+nvXyXd1aOYnUf9CzaJ6DtRacDgRmYYhEfUFeZZfSZ2ZSu xejc3eJ03FfuMwMOuMMYUEhsspbKhjmeIklV5IPIt2TGoiqnueAJuiWARhVZ2mjl3AKvum QVc8kLJe6lBMcptF6wycPHwKNbeTDJuMbLzE81SnuITuOM4HcrsTb240R3F/BHg9W/M3QL OYjiik/TGleV2gAYwseRbUy0Zpydiz+MvCAa8/wwTBbv55lyLmgnAawrkSrBYA== From: Lars-Dominik Braun <lars@6xq.net> Message-ID: <YmUUw8u0rTL6GU5Y@noor.fritz.box> References: <YDzveovrLETvBlkE@noor.fritz.box> <YJ+VD+Xcb7tCU6FF@noor.fritz.box> <YbeomE4Q02bPiPM+@noor.fritz.box> <YdWwcWM5I+zJW8tU@noor.fritz.box> <877daubeju.fsf@gnu.org> <YemtTA5nsPjVXu5L@noor.fritz.box> <87h78lwwfc.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="JgXvKQ6Yd69jxylY" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87h78lwwfc.fsf@gmail.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-getmail-retrieved-from-mailbox: Patches |
Series |
[bug#46848,PATCHES,core-updates] PEP 517 python-build-system
|
|
Commit Message
Lars-Dominik Braun
April 24, 2022, 9:13 a.m. UTC
Hi Maxim, > When you judge the branch ready to merge, could you please send a subset > of the patches (at least the ones touching the python-build-system > directly) to this issue (marked as v2 -- git send-email -v2) so that > they can be more easily commented? I had some time to finish my work, so I pushed all of my changes to wip-python-pep517 and attached changes that do not fix individual packages to this email. Since my last version I added support for building Python 2 packages, although we should really phase out Python 2 asap. I kept support for nose and setup.py’s test target, because they are still in use/valuable, but we can also remove them if you prefer. Please have a look when time permits. If all is good we can move on to fix failing packages. Thank you very much, Lars From 720dbe22d431262938be29dd9a9ddb78c44a99b3 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun <lars@6xq.net> Date: Fri, 19 Feb 2021 17:22:35 +0100 Subject: [PATCH v3 001/150] build/python: Handle missing setuptools in sanity-check.py Just skip testing if required dependencies (setuptools) are not available. * gnu/packages/aux-files/python/sanity-check.py: Handle ImportError. --- gnu/packages/aux-files/python/sanity-check.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/aux-files/python/sanity-check.py b/gnu/packages/aux-files/python/sanity-check.py index 182133bb3d..1366b68e3d 100644 --- a/gnu/packages/aux-files/python/sanity-check.py +++ b/gnu/packages/aux-files/python/sanity-check.py @@ -19,9 +19,13 @@ from __future__ import print_function # Python 2 support. import importlib -import pkg_resources import sys import traceback +try: + import pkg_resources +except ImportError: + print('Warning: Skipping, because python-setuptools are not available.') + sys.exit(0) try: from importlib.machinery import PathFinder