From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2No/JmXM22MVKAAAbAwnHQ (envelope-from ) for ; Thu, 02 Feb 2023 15:44:53 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id cHjxJWXM22N0hAEAauVa8A (envelope-from ) for ; Thu, 02 Feb 2023 15:44:53 +0100 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 5C29F14A12 for ; Thu, 2 Feb 2023 15:44:53 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pNapF-00044l-53; Thu, 02 Feb 2023 09:44:33 -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 1pN8Au-00067c-NE for guix-devel@gnu.org; Wed, 01 Feb 2023 03:09:00 -0500 Received: from cczrelay01.in2p3.fr ([134.158.66.141]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pN8As-0004J9-F4 for guix-devel@gnu.org; Wed, 01 Feb 2023 03:09:00 -0500 Received: from l2it-mac014.local ([134.158.252.211]) (authenticated bits=0) by cczrelay01.in2p3.fr (8.14.4/8.14.4) with ESMTP id 3117oqkD004363 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Wed, 1 Feb 2023 08:50:53 +0100 User-agent: mu4e 1.8.13; emacs 29.0.50 From: Cayetano Santos To: Guix Devel Subject: emacs packaging: do we need to pull existing dependencies ? Date: Wed, 01 Feb 2023 08:44:04 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=134.158.66.141; envelope-from=cayetano.santos@l2it.in2p3.fr; helo=cczrelay01.in2p3.fr X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 02 Feb 2023 09:44:31 -0500 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: cayetano.santos@l2it.in2p3.fr 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 ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675349093; a=rsa-sha256; cv=none; b=HjUJ23JVcLWdQL5KATVbQ0kmPw1qDSq5fh4SLw5aPdUPYHMF1fJNaGq1wuWR80/7skSYD+ 52N7VAKBpUWjc7IGqlwWcA9DTSFpwr5LMnKWcqnOMKuVtCrA4UU+aPik5eulxEUquvrlpN iVvtHh0Owdlu3hHRdXy+4LnjAhVMDY0R5OfiolS+T7X27GGs9MlGBgptVaEHmdQrFi3pc7 yw7GFPSpKaJyMhHvWZTceuO2B0/v3uwUiUtoA0iqr9rS8CyJ13EfFqBdRP07buvLcuzHty 0xwHBbsgDq4xROEiK4/BY3SEn1M4emwd4gKy+TFh9cPrI5Owj9b83J28YycWaw== 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675349093; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=z9fXXvbBZGF82GPR3R2M8KFxuv0nMeABG6RhhyC/mHo=; b=kkl49y/b1E9xv8Siw+7GYMo1fQ0AEs3PvSJQ1C+7dPttAJX02iVJFNFDPA0ve62X0YETDX GlYdGwQepArHJ+5WpPlEYDOhy85K2FpLHO0dalPh61Phhc4p+iGAJq+Ded4jwH/6qxj9z0 YXInvqaP2JKdy7axr/oBz8uSIaqTeN8LsmpHHsmodUQVlNnb7k1ztWvaN1HKABAmcj48sg Dm9T7ceBhylPvMtTgFywW7k4QXWldp4/J/BoeFi3Gbz3F+Ep3h5amLUr/eXcEyHqYu42Sa 7mdTtpzwqzQ9haaoz5aJG9TJLvwN3YLopcG6qD5dIrfBTs4q3jQR/MiB7EPNwg== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: 0.42 X-Spam-Score: 0.42 X-Migadu-Queue-Id: 5C29F14A12 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=none X-TUID: zJlPaNI2dgy/ Hello Guix, I=E2=80=99m referring here to the way we handle propagated-inputs in=20 package definitions, when dependencies are already present in the latest stable emacs we provide (28.2 as for today.) Think for example on all org-packages which depend on (and whose package definition declare as a propagated-input) emacs-org.=20 This is just an example, as many other similar examples may be found=20 (and more to come on the upcoming 29.1). From one side, it is up to the upstream package to declare in=20 the package-requires fields all of its dependencies. Should not be=20 our concern, as packagers, to take care of fixing / replacing that=20 in any way. But, from another perspective, most of these packages=20 include package-requires coherent to previous versions of emacs, which=20 is not the case of guix. So, do we need to pull most up-to-date dependencies, even if=20 already present in current emacs, when upstream package requires them to=20 keep backward compatibility ? Do we assume that guix emacs (28.2)=20 already includes them, and remove the dependency from the inputs ? Is it=20 a good strategy to deal with two different versions of a=20 dependency ? Say for example emacs-org-roam@2.2.2: it requires emacs-org 9.4,=20 which is not specified in the package definition, meaning we always=20 pull the latest available. Do we have to, provided that emacs releases=20 with org ? Maybe there is already a clear rule about this topic, but to=20 me this is not clear. We have package definitions with both criteria. My two cents: let=E2=80=99s keep things as simple as possible. The lower= =20 the dependencies, the simpler the maintenance. I don=E2=80=99t see the point= =20 on pulling emacs-org@latest, provided that emacs already includes=20 the minimum required org version. Same logic applies to all the=20 rest. What do you think ? Cayetano