From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id ENTOBvmM32Nm4wAAbAwnHQ (envelope-from ) for ; Sun, 05 Feb 2023 12:03:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id qMzZBvmM32MQHQAA9RJhRA (envelope-from ) for ; Sun, 05 Feb 2023 12:03:21 +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 DF0AF126C6 for ; Sun, 5 Feb 2023 12:03:20 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pOcnO-0003uU-BC; Sun, 05 Feb 2023 06:02:54 -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 1pOcnK-0003tz-M5 for guix-devel@gnu.org; Sun, 05 Feb 2023 06:02:50 -0500 Received: from confino.investici.org ([93.190.126.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pOcnI-0005uh-BK for guix-devel@gnu.org; Sun, 05 Feb 2023 06:02:50 -0500 Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4P8mgs0n8Lz1122; Sun, 5 Feb 2023 11:02:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1675594953; bh=sty1pyclL4t+LTaZyN78VZ0sgkqb35ge7EAhSCJ9g4Q=; h=References:From:To:Cc:Subject:Date:Reply-To:In-reply-to:From; b=idFT9hM+977DW3FgDwK9BkFFYtDIBBPJGXX4Q2e7BJSAT10xG2idz0fvL7Cm/docg bjmJ/vLCC4CaelVb4yMXezNWR+mcVFcubTytNdv2f/mjo1wPoioHFF9kxO/nsQTLij btYm3F0aozxmPbhKi/Zx+4NmrSrGldp+8IwAWHTE= Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4P8mgr5FXkz110q; Sun, 5 Feb 2023 11:02:32 +0000 (UTC) References: User-agent: mu4e 1.8.13; emacs 29.0.50 From: Cayetano Santos To: Liliana Marie Prikler Cc: guix-devel@gnu.org Subject: Re: emacs packaging: do we need to pull existing dependencies ? Date: Sun, 05 Feb 2023 11:50:21 +0100 In-reply-to: Message-ID: <87h6w08jeg.fsf@inventati.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=93.190.126.19; envelope-from=csantosb@inventati.org; helo=confino.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, SPF_HELO_PASS=-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: csantosb@inventati.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675595000; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=sty1pyclL4t+LTaZyN78VZ0sgkqb35ge7EAhSCJ9g4Q=; b=l93ke29c7+GrYMT4/k7pD4p45+GQWOBV+PeQgywv2FTlNi8qIYgrylhYN2O08LZ/Bnd2Q3 lMFqyBfplz6uHXFqU3JSmGmY6P7+yVrb1YhQniZH3AvX/+0x0Vo2gM53FYFjP5yCt2Ywzd akWqS2arGTvC2745eXcaDLEuHnLt8XETK6D1Vmy5f2tV48fUE475F6LdcP/BHF8cyfXjKr PCJF/7gKw49z5KpfZErwonEdQCyz/tzVAVUfYNvZSffwtlo33FogxsedBILOWh/K2VOfLB fBfAYwM7YIUt532uKXMKAbW3KmAnZUv44a2eAId8u6VleF3wyfEY6W8S/edC2A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=inventati.org header.s=stigmate header.b=idFT9hM+; dmarc=pass (policy=reject) header.from=inventati.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675595000; a=rsa-sha256; cv=none; b=GCFi76X58cZhFY4O7TATCyMVS5CDWRi5oc5L1MW93CWAOFTUs7U0tclgfKXBmhDJioCdds nxzvS1voldnf9KvyFC8lSv3fXm5GssN0HvWSZLlHVKk3cxGqb3ttMf2Z5TUugAamIY7rU0 PHXmTU1eA1OR9SUnPTfoPTD1egL88fytxjEZQSZzmsqrttGM9gW3Ep3Kmo6KVamp1gJ05d GmWu8ra4W/8hSsnBN/cfcMT6TcQrxkDYD+FXrfEMFfLKMFg17NUapsOiBV6yAuoKzR1Gb0 Rajrp5aRam1ngxpkyhF0Wl10jaC1jez36ByjxpemB1F8R5uTTDavpzfnWXCpaA== X-Migadu-Queue-Id: DF0AF126C6 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=inventati.org header.s=stigmate header.b=idFT9hM+; dmarc=pass (policy=reject) header.from=inventati.org; 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" X-Migadu-Spam-Score: -10.63 X-Spam-Score: -10.63 X-TUID: DkHD1BjGCrBc >> Say for example emacs-org-roam@2.2.2: it requires emacs-org 9.4, >> which is not specified in the package definition, meaning we always >> pull the latest available. Do we have to, provided that emacs >> releases with org? Maybe there is already a clear rule about this >> topic, but to me this is not clear. We have package definitions with >> both criteria. > I think it's important to think about this in terms of forward > compatibility. Is org-roam guaranteed to always work with "the current > version of Emacs, whatever that may happen to be"? In that case, you > could currently drop emacs-org. If it requires bleeding edge symbols > on the other hand, or may freely decide that it will need them, adding > emacs-org to the inputs is a good idea. I don=E2=80=99t see your point. This is exactly the responsibility of the package, declare its dependencies today, regardless of what the dependencies will be in the future. This is what the =E2=80=99package-requi= res=E2=80=99 field is for, including the version number of the dependencies. If the dependencies of a given package are already there in emacs (say org-9.2), why do we need to pull org-latest ? If in the future this changes, an author decides he needs bleeding edge org features, and changes the version number of org in the =E2=80=99package-requires=E2=80=99= field, the new package definition will propagage-require org-latest. All in all, we may not predict future package needs, pulling dependencies just in case. In any case, and whatever the decission, I think we should clearly state the way to proceed somewhere, as currently we have a mix of both. C.