From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id CGIbAlpdH2ZhUAAA62LTzQ:P1 (envelope-from ) for ; Wed, 17 Apr 2024 07:25:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id CGIbAlpdH2ZhUAAA62LTzQ (envelope-from ) for ; Wed, 17 Apr 2024 07:25:46 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1713331545; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=aRN2Kuhi8F99yaJDGUGrms/2FRp53DWAeHngvPZF2+0=; b=bRyRriK+74z06XITqh1q/myCLMC5/M3l/byA331uYR6SNvtd8gJv3W9pNWs3J4PKr5oApx fj8PHHkg9jLkDFp/kV7giLWirYJ1aOsY52J1ckUVYBc38bD/ynIUPDzfFRrCExXkxG7w6C K72pX9rHDAllOy+45tSPuYhpfSyRXJB7Jqvj72JW3UVab0zttbnlP8TK9zRFtoJHDuDX4U qV3r+A8hLkv0vzKMiPtHdQV/UPhXReT0zedzzMXezC6OWrvdrwHqPgRcwWo1sWDoGWnPfb RNVIBmTB0OiiSq8EUf+GcnVvZ0aPJsfZMYEcxI1t+y6LlmJB8CZitXizcyrzew== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1713331545; a=rsa-sha256; cv=none; b=GFjZ5XPimIO/w0nxnkN8xRzxl/UWnkK+kNNia9I2E6IMzx3dkhd7io/i/9qadIsElTGr3A PZ/lVW4bGlSWrvUE/3sxqM1RfsBP1FUK64Ajn7MFcVOHtygynnXEMSt6u3TByiNaggv6M4 XCAa55VvTgvJ1xu5w1SiV+qVo1w6Hsnhw7dDtKltVlQK10gwy72ZSYL/yXAFgZYeuY6i98 fmoXHRrqS1Nx9rilwQykCmPq+siCtDipQcAvg2YUA4An+QRlB5H31YbaLX8fXEujVhw++u iyBv1F5XTmcxnVh0QAETbALiLGgwCyWaO6wKkjjCQtUQqDz2jWOmochlr32XmQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org 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 DFDCE66E3B for ; Wed, 17 Apr 2024 07:25:45 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rwxnZ-0003kE-08; Wed, 17 Apr 2024 01:25:33 -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 1rwxnW-0003k2-QG for guix-devel@gnu.org; Wed, 17 Apr 2024 01:25:30 -0400 Received: from 17.mo550.mail-out.ovh.net ([87.98.179.142]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rwxnU-0001Dg-OV for guix-devel@gnu.org; Wed, 17 Apr 2024 01:25:30 -0400 Received: from director5.ghost.mail-out.ovh.net (unknown [10.109.139.40]) by mo550.mail-out.ovh.net (Postfix) with ESMTP id 4VK8W11SRPz1KLm for ; Wed, 17 Apr 2024 05:25:17 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-qbpb2 (unknown [10.110.96.26]) by director5.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 9C4C21FD59; Wed, 17 Apr 2024 05:25:16 +0000 (UTC) Received: from ngraves.fr ([37.59.142.107]) by ghost-submission-6684bf9d7b-qbpb2 with ESMTPSA id eYdlIjxdH2ZRowAAI6nNQw (envelope-from ); Wed, 17 Apr 2024 05:25:16 +0000 X-OVh-ClientIp: 81.67.146.208 To: guix-devel@gnu.org Cc: lars@6xq.net, tanguy@bioneland.org, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com Subject: Python's native-inputs Date: Wed, 17 Apr 2024 07:25:15 +0200 Message-ID: <87wmowmuh0.fsf@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain X-Ovh-Tracer-Id: 6718526221393191665 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrudejjedgkeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkfggtgesthdtredttddttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeeugefgtdekvdeujefhfeeggfevjeehfffgjedvteeuheffheegueffhfdttdehheenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegiedrvddtkedpfeejrdehledrudegvddruddtjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepghhuihigqdguvghvvghlsehgnhhurdhorhhgpdfovfetjfhoshhtpehmohehhedtpdhmohguvgepshhmthhpohhuth Received-SPF: pass client-ip=87.98.179.142; envelope-from=ngraves@ngraves.fr; helo=17.mo550.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_H3=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: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Nicolas Graves From: Nicolas Graves via "Development of GNU Guix and the GNU System distribution." Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.68 X-Spam-Score: -5.68 X-Migadu-Queue-Id: DFDCE66E3B X-Migadu-Scanner: mx12.migadu.com X-TUID: 8iW9/1KE/eJo Hi Guix, On some languages, there are a lot of unused native-inputs that are development & linting dependencies much more than packages that are actually used to build or test a package (I'm thinking at least Python and Rust). These fall in the category of tools "useful" at run time, but unecessary at build time. Is there a clear policy about their removal? I've seen the case of pre-commit in Python, and I've commited a series yesterday regarding pylint, but there are a whole lot of them in Python, at least : - black and extensions - codecov - coveralls - coverage - pytest-cov - pycodestyle - mypy and extensions - isort and extensions - flake8 and extensions - possibly virtualenv and extensions and I'm probably forgetting some. These packages make a lot of sense when considering things like `guix shell -D` but they are hampering some progress on Python packages since they are everywhere and a small update in their inputs rebuilds the whole python world (even though it has NO influence on the functionality of any other package). What are the guidelines in this case? I can propose a huge patch series (currently ~300 patches, and not finished), to remove them, lint against them and remove them from the importer as a default, but that's a big decision to make. IMO we should have a dev-inputs field to handle these cases, but that's even more work. -- Best regards, Nicolas Graves