Message ID | 20240425155529.30747-1-ngraves@ngraves.fr |
---|---|
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 4ED9D27BBEA; Thu, 25 Apr 2024 16:58:37 +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.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=ham 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 9508427BBE2 for <patchwork@mira.cbaines.net>; Thu, 25 Apr 2024 16:58:36 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1s01U6-0000ly-5r; Thu, 25 Apr 2024 11:58:06 -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 <Debian-debbugs@debbugs.gnu.org>) id 1s01U0-0000ld-9R for guix-patches@gnu.org; Thu, 25 Apr 2024 11:58:00 -0400 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 <Debian-debbugs@debbugs.gnu.org>) id 1s01Tz-00033U-Py for guix-patches@gnu.org; Thu, 25 Apr 2024 11:58:00 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1s01UG-00075b-Fh for guix-patches@gnu.org; Thu, 25 Apr 2024 11:58:16 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70570] [PATCH 0/2] Python: Ignore unwanted development inputs. Resent-From: Nicolas Graves <ngraves@ngraves.fr> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 25 Apr 2024 15:58:11 +0000 Resent-Message-ID: <handler.70570.B.171406064226676@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70570 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70570@debbugs.gnu.org Cc: ngraves@ngraves.fr X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.171406064226676 (code B ref -1); Thu, 25 Apr 2024 15:58:11 +0000 Received: (at submit) by debbugs.gnu.org; 25 Apr 2024 15:57:22 +0000 Received: from localhost ([127.0.0.1]:33125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1s01TI-0006vL-MU for submit@debbugs.gnu.org; Thu, 25 Apr 2024 11:57:20 -0400 Received: from lists.gnu.org ([2001:470:142::17]:36698) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ngraves@ngraves.fr>) id 1s01SI-0006ij-4o for submit@debbugs.gnu.org; Thu, 25 Apr 2024 11:56:23 -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 <ngraves@ngraves.fr>) id 1s01Rt-0008B9-Db for guix-patches@gnu.org; Thu, 25 Apr 2024 11:55:49 -0400 Received: from 4.mo575.mail-out.ovh.net ([46.105.59.63]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ngraves@ngraves.fr>) id 1s01Rp-0000yF-Na for guix-patches@gnu.org; Thu, 25 Apr 2024 11:55:48 -0400 Received: from director8.ghost.mail-out.ovh.net (unknown [10.108.2.251]) by mo575.mail-out.ovh.net (Postfix) with ESMTP id 4VQL6Y13Fsz1R0F for <guix-patches@gnu.org>; Thu, 25 Apr 2024 15:55:33 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-7t84l (unknown [10.110.113.175]) by director8.ghost.mail-out.ovh.net (Postfix) with ESMTPS id A8C3E1FE7F; Thu, 25 Apr 2024 15:55:32 +0000 (UTC) Received: from ngraves.fr ([37.59.142.103]) by ghost-submission-6684bf9d7b-7t84l with ESMTPSA id SL7rJfR8KmYc8AYAyso6Hw (envelope-from <ngraves@ngraves.fr>); Thu, 25 Apr 2024 15:55:32 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-103G005524e1b7f-3ca5-4335-b061-30244e8fec16, AD8D7EE5F14CB41C4DCF674C83E011AE46681836) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 80.215.5.23 Date: Thu, 25 Apr 2024 17:42:35 +0200 Message-ID: <20240425155529.30747-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 9004103032855519970 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrudeljedgleehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepkeffgeetfffgffejgeejvdffgfdtvdeuueetgfefuedvjeegvdegjeejveeuueevnecukfhppeduvdejrddtrddtrddupdektddrvdduhedrhedrvdefpdefjedrheelrddugedvrddutdefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopehguhhigidqphgrthgthhgvshesghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejhedpmhhouggvpehsmhhtphhouhht Received-SPF: pass client-ip=46.105.59.63; envelope-from=ngraves@ngraves.fr; helo=4.mo575.mail-out.ovh.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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> Reply-to: Nicolas Graves <ngraves@ngraves.fr> X-ACL-Warn: , Nicolas Graves via Guix-patches <guix-patches@gnu.org> From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series |
Python: Ignore unwanted development inputs.
|
|
Message
Nicolas Graves
April 25, 2024, 3:42 p.m. UTC
This patch series implements a way to robustly and with minimal burden on maintainers to remove some python packages that are often put in native inputs. This allows these packages to be removed almost seemlessly in most cases from native-inputs where they are of no use, enabling to cut down the dependent rebuilds upon update, and more easily update them and their real dependents. It is for the python-team branch. It will be followed by a more consequential patch series upon the python-team branch to actually remove these unwanted developement inputs, but is send before for reviews. The patch series handles : - guix lint warnings against the inclusion of these packages - guix import pypi will automatically not include them when read in the package result - ignoring pytest arguments defined in pytest.ini or setup.cfg regarding those packages The patch series doesn't handle: - ignoring these packages when they are explicitely listed as required for installation (which means that sometimes a snippet or a patch are necessary, but this is not the general case). Nicolas Graves (2): guix: import: pypi: Ignore pypi-ignored-inputs. guix: pyproject-build-system: Ignore unwanted pytest flags. guix/build/pyproject-build-system.scm | 88 ++++++++++++++++++++++++++- guix/import/pypi.scm | 20 +++++- guix/lint.scm | 11 ++-- tests/pypi.scm | 3 +- 4 files changed, 111 insertions(+), 11 deletions(-)