From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id UPE3O1TM22MVKAAAbAwnHQ (envelope-from ) for ; Thu, 02 Feb 2023 15:44:37 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 2Jk6OlTM22O/BAEAG6o9tA (envelope-from ) for ; Thu, 02 Feb 2023 15:44:36 +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 AFB542EB70 for ; Thu, 2 Feb 2023 15:44:36 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pNapC-00041m-4g; Thu, 02 Feb 2023 09:44:30 -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 1pMCoq-0000eh-Ui for guix-devel@gnu.org; Sun, 29 Jan 2023 13:54:24 -0500 Received: from devianza.investici.org ([198.167.222.108]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pMCon-0001mi-4t for guix-devel@gnu.org; Sun, 29 Jan 2023 13:54:23 -0500 Received: from mx2.investici.org (unknown [127.0.0.1]) by devianza.investici.org (Postfix) with ESMTP id 4P4gTN3R2Tz6vL6 for ; Sun, 29 Jan 2023 18:54:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1675018456; bh=roa/qFcSDcZ26vJs0ZrkVX5OrUojpqyBQhKQhFJ1z34=; h=From:To:Subject:Date:Reply-To:From; b=hhDVwj0HB9V1FIPKD0xPS0nvc1Np27plpqYrjUxgV7ZBKoNTNeQdeFjtp1NgrZN6B qsL8yv9LcYwGvdWpkWM3kt+sdLGIIyu3z725h5CLT11eczm099x/qc/Q1u/QVQzfsH 1uGes9HfplOJsJuDCzrNXycxemzcs1/3TqNS/u1g= Received: from [198.167.222.108] (mx2.investici.org [198.167.222.108]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4P4gTN1fzjz6vL3 for ; Sun, 29 Jan 2023 18:54:16 +0000 (UTC) User-agent: mu4e 1.8.13; emacs 29.0.50 From: Cayetano Santos To: guix-devel@gnu.org Subject: Emacs packaging: do we need to pull existing dependencies ? Date: Sun, 29 Jan 2023 19:27:05 +0100 Message-ID: <87y1pldve1.fsf@inventati.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=198.167.222.108; envelope-from=csantosb@inventati.org; helo=devianza.investici.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-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:21 -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: csantosb@inventati.org 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=1675349076; a=rsa-sha256; cv=none; b=Okr0Q7hmhTi0pEVzMQa+15FG/MbD7lvRvhSmPxjd6TPniBA4mBf6eltXk+KOEilrHGj78d kRk4Sdg1N8JeYfv1yVeVVJhEiigsqqRGAPrYLhZouoxeJMOQl2PLTz5TKNkpS/JLFbuAAu xxpNcDopaOFYclN2gqrusmMl6H7Gm5e0jobGjMGEIF7RFFKZ++s3iUs8fATpIFqUdtd8f0 K0aqItNPS9BmljyiUP/GmeNYSQzWzbOe+9wyzLcmLAl738lcXM7J288QTL7x9L+HObCbV7 ASyxC2mhYydg6j6jyu/AVN0xtcRUmDPBy7m4uxxrLJ0NHM8eiezVNFCTjSX0RA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=inventati.org header.s=stigmate header.b=hhDVwj0H; 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=reject) header.from=inventati.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675349076; 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:dkim-signature; bh=roa/qFcSDcZ26vJs0ZrkVX5OrUojpqyBQhKQhFJ1z34=; b=o5dtQqyRbzry+HMBEWCUiAEH2l3Jf+R3wb3+4YyH2uNrLaC86Nuc2Is0xmrOsortG1kijz SiiXHzjFzjqR8LDbqQEDFrwZ65wNHmDnZFoxrDLQ0TRSwnvS1kQbjVQ96O6W54RnXjpLv7 1DRrd9m5yqWHZliOT4Q895/1h9RYYfZIxkLviXTgzuhvgOjKD5C4KGkqRrOunsRE782rIE gKO6dNkOJbE+3INbWpvJfnQU+i9EZg4NfpqM3vc7thC81EiL21+S7HcnOmEYeFYMjHGX3P U/YLJKs2mu+7bruvKeh2EqpgZOS81rxy0EEj+/3xqCD5Or5AVtte1qhJjpVCiw== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -2.82 X-Spam-Score: -2.82 X-Migadu-Queue-Id: AFB542EB70 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=inventati.org header.s=stigmate header.b=hhDVwj0H; 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=reject) header.from=inventati.org X-TUID: tb7LRFV2aHFW 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 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 install two different versions of a dependency=20 ? 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 me=20 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 minimun required org version. Same logic applies to all the=20 rest. What do you think ? Cayetano