GNU logs - #62541, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#62541: 28.2; Dependencies of packages available both built-in and in external repos
Resent-From: Gustavo Barros <gusbrs.2016@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 30 Mar 2023 11:41:02 +0000
Resent-Message-ID: <handler.62541.B.16801764325415 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 62541
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 62541 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.16801764325415
          (code B ref -1); Thu, 30 Mar 2023 11:41:02 +0000
Received: (at submit) by debbugs.gnu.org; 30 Mar 2023 11:40:32 +0000
Received: from localhost ([127.0.0.1]:55949 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1phqds-0001PG-1C
	for submit <at> debbugs.gnu.org; Thu, 30 Mar 2023 07:40:32 -0400
Received: from lists.gnu.org ([209.51.188.17]:43558)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <gtvbrs@HIDDEN>) id 1phqdq-0001P7-3H
 for submit <at> debbugs.gnu.org; Thu, 30 Mar 2023 07:40:30 -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 <gtvbrs@HIDDEN>) id 1phqdn-0004cV-Ud
 for bug-gnu-emacs@HIDDEN; Thu, 30 Mar 2023 07:40:29 -0400
Received: from mail-yb1-xb32.google.com ([2607:f8b0:4864:20::b32])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <gtvbrs@HIDDEN>) id 1phqdj-0001kd-PV
 for bug-gnu-emacs@HIDDEN; Thu, 30 Mar 2023 07:40:26 -0400
Received: by mail-yb1-xb32.google.com with SMTP id n125so23006263ybg.7
 for <bug-gnu-emacs@HIDDEN>; Thu, 30 Mar 2023 04:40:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20210112; t=1680176420;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=Ad5ImuNwyDlEfNz1x9SdHr56F5759G+Oln6t9LE/Dig=;
 b=BlrK3ddPVvoytSJqBZHCTaI6S3oCEcuIln32TXFvxJay/LwKUH2Ai9FGy4Ri7q5KW/
 ZjKWVC3bOtL7ePDEipmXImRtVFMOLiISdIpYPWueelYRzYpovY02BiCySYcwYBFUeR+n
 ZJi+5SnpPidN3/+ZnRA0l/4mxh4g3cQi/2roSIJJY2mwpUHqqpuQRV7alNO444ySteZE
 sBXU4yy1C4y+kYqodAuLQU70b6/jta62cksPYbd8ttxd+IiGct6iP0X2cmq7CJwyUNUJ
 7Gli+ozx6+RpvEyCiqrPYxEpDtu6eexN1fxNnkUzWARExn6eSqQ93DGpRdiUIEZVWpK9
 +ZkQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112; t=1680176420;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=Ad5ImuNwyDlEfNz1x9SdHr56F5759G+Oln6t9LE/Dig=;
 b=wHx4IPJpALd+OlEYFFXIz+AD1GIvQ3XdHuQH+HxiCprpGjTBPGi12tB1dFkSoBU8GN
 UdSK3NyYlulLX20Co3Osys9ZeLoMtTFoM6G0VoyFF0J5gG+NbJQ9XcgtrC62SC3MfAnF
 dTsyLXbiXVrCGXI5ydJ75rDnydRyWQs1R10MqhWnz4W5piyB2DZbrm2d2Bqmy/9DZtr8
 V7Lbuz7xE2dcAVJHC7knUUpKcnjJv4U7iplbAoi7KMpAUGJJG3nQefpUxg/fU3y8POiY
 FfZPpTouldfcxegMGbaxP4mPWrA3udHDGxO+iHlljWcbxcYEeppCdLMBP/qI/m5K2NIl
 c5uA==
X-Gm-Message-State: AAQBX9eju2m4BNaQzYVDTmFN5MUpNqmeoohGSdBmeGKQcv5m5JwsdtGt
 EfK6EPLhNKlCuJYdJcWeAiHcqaGPojnF5WoYVfJfvFm9XOtrAg==
X-Google-Smtp-Source: AKy350b7m9b4yi95rbzDm6FDeACYD1gxYKisvqSTF8mocxQhjQks8qy1aCr8CgrwSw87qTIIIQo7ut4vpXWLSTis+1Y=
X-Received: by 2002:a05:6902:1586:b0:b23:4649:7ef3 with SMTP id
 k6-20020a056902158600b00b2346497ef3mr15448828ybu.4.1680176420003; Thu, 30 Mar
 2023 04:40:20 -0700 (PDT)
MIME-Version: 1.0
From: Gustavo Barros <gusbrs.2016@HIDDEN>
Date: Thu, 30 Mar 2023 08:40:08 -0300
Message-ID: <CAM9ALR8dVNJLcfR+e728pMuvwdtcGtoo=3YqJ_+2sURO1Uyixg@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=2607:f8b0:4864:20::b32;
 envelope-from=gtvbrs@HIDDEN; helo=mail-yb1-xb32.google.com
X-Spam_score_int: -10
X-Spam_score: -1.1
X-Spam_bar: -
X-Spam_report: (-1.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, FREEMAIL_FROM=0.001,
 HK_RANDOM_ENVFROM=0.999, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -0.3 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.3 (-)

Hi All,

since some time I've been noticing what I think is an odd behavior of
`package.el' when it comes to packages that have been incorporated to
the core, but are also distributed by external package repositories.

For example, if I install `magit' or `rg', which are available only in
external repositories, but which have a dependency to `transient'
which is available both built-in and externally, `transient' is
installed from an external repository, even though it is of the same
version as the one currently built-in.

Details: `rg` requires `(transient "0.3.0")`, `magit` requires
`(transient "0.3.6")`. The currently released version of `transient`
is "0.3.7", which is the same version which is available built-in
(Emacs 28.2).

Updating, e.g. `rg`, brings `transient` from the external repository,
even though it is the same version as the built-in one and not a
version required by the package. (I think the same happens to `magit`
as I recall, the `rg` was just the most recent upgrade I got, and the
problem occured).

I may be missing something, but I don't see a way to configure this in
`package-archive-priorities` (as far as I get the docstring, what I'm
asking is different from setting negative priorities). What I have
here is the following:

    (setq package-archives
          '(("melpa"        . "https://melpa.org/packages/")
            ("gnu-elpa-dev" . "https://elpa.gnu.org/devel/")
            ("melpa-stable" . "https://stable.melpa.org/packages/")
            ("nongnu-elpa"  . "https://elpa.nongnu.org/nongnu/")
            ("gnu-elpa"     . "https://elpa.gnu.org/packages/")))
    (setq package-archive-priorities '(("gnu-elpa"     . 2)
                                       ("nongnu-elpa"  . 2)
                                       ("melpa-stable" . 2)
                                       ("gnu-elpa-dev" . 1)
                                       ("melpa"        . 1)))

Is there a way to tell `package.el' to "prefer built-in"? Is there a
way to tell `package.el' to install from an external source only if
the dependency is strictly required?

Best regards,
Gustavo.


In GNU Emacs 28.2 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.33,
cairo version 1.16.0)
 of 2023-02-07 built on gusbrs-desktop
Windowing system distributor 'The X.Org Foundation', version 11.0.12101003
System Description: Linux Mint 21.1




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Gustavo Barros <gusbrs.2016@HIDDEN>
Subject: bug#62541: Acknowledgement (28.2; Dependencies of packages
 available both built-in and in external repos)
Message-ID: <handler.62541.B.16801764325415.ack <at> debbugs.gnu.org>
References: <CAM9ALR8dVNJLcfR+e728pMuvwdtcGtoo=3YqJ_+2sURO1Uyixg@HIDDEN>
X-Gnu-PR-Message: ack 62541
X-Gnu-PR-Package: emacs
Reply-To: 62541 <at> debbugs.gnu.org
Date: Thu, 30 Mar 2023 11:41:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 62541 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
62541: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D62541
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 4 Sep 2023 08:42:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 04 04:42:09 2023
Received: from localhost ([127.0.0.1]:48434 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qd59t-0008R1-BH
	for submit <at> debbugs.gnu.org; Mon, 04 Sep 2023 04:42:09 -0400
Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]:60699)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1qd59q-0008Q3-WA
 for control <at> debbugs.gnu.org; Mon, 04 Sep 2023 04:42:08 -0400
Received: by mail-lj1-x229.google.com with SMTP id
 38308e7fff4ca-2bcb89b476bso17137331fa.1
 for <control <at> debbugs.gnu.org>; Mon, 04 Sep 2023 01:42:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1693816921; x=1694421721; darn=debbugs.gnu.org;
 h=to:subject:message-id:date:mime-version:from:from:to:cc:subject
 :date:message-id:reply-to;
 bh=Cvr7P81Y2CEA/ZnqWnNPhxCfgFlgj1ZvUjXYDS4fd5g=;
 b=MFBct5H3JwXh5+p4NhU8m4gfsjaLfLPMGSIw0HZHkorSQwNoZf7uvtxgMoR6DvYuxS
 /UWV22TM4X4kfCBISBE1viaMIs9IHIhQgMzRwkvMA02ALK1gpRtuqaB/vU8i2/YEUXzH
 Bn61v1qRIp4x3XPqHg6O7O5A9OA3ZBoCspt7/sxbNTW3BDzwkDfAHk+f1W3hkFbX9V/i
 QmkWyCf9AU1C2l8Fv5x81f5brqtodT1FIBcF4n7NtqhN5DReU8bQ5g+aAVDi9aQVD4KJ
 9OfTs3uU47Ro6POwxBaNcabSbQt98Kv1AWBtxuBlrI85EQ/I04sa48tXY04nXCifZhgM
 6sGg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1693816921; x=1694421721;
 h=to:subject:message-id:date:mime-version:from:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=Cvr7P81Y2CEA/ZnqWnNPhxCfgFlgj1ZvUjXYDS4fd5g=;
 b=MQb/+1qMRcq/oFlLaQpOEtv0GNzs3iniLXPx2mG0bTaThF4mvkU1rGSlSu7vhlFReG
 vlXryGZ7LdPiWMYbq1qPEztiAJeWVOd2YWgP4Cwp8VQ/bf9x/kPvF5OtghcjccG+xBcK
 95BBRhP0wzPLkQlXMf/NrcMJBaqboTfxTHOpDM2hwKGe2RPy/H2zEsZfku5Y4qwIFOe5
 1UdwQZa0SpbuwZPEh+R4YoPsueSRTATEc/WAzTzsL2/VEzT3mPCFN8QAh+YKFzrNqu9f
 3G71wWt+cbjpastwMiwEU8kJhwZETrhd5O23YH7Png3VAw2Jxm84U0A7qY/pvkjGZ4a9
 egLQ==
X-Gm-Message-State: AOJu0Yx2WOUYul/G+7j4DUMuMDsy4eDcUHyD2RgYAEWsBQysD2w6dtXZ
 EhAuT+z9TrfQCLDfSDjA6wYKK0Iqntc1Z69/3ofODRME3pY=
X-Google-Smtp-Source: AGHT+IFnHgWKkoeBB/nI3aep+euOc9WuDK7//EnnkwJdjbJxnm9NNCmzo0KwqQeOWdlyON9PFyfcvpDgmut0rDLTRrM=
X-Received: by 2002:a2e:9056:0:b0:2ba:18e5:1070 with SMTP id
 n22-20020a2e9056000000b002ba18e51070mr6992334ljg.24.1693816921308; Mon, 04
 Sep 2023 01:42:01 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Mon, 4 Sep 2023 01:42:00 -0700
From: Stefan Kangas <stefankangas@HIDDEN>
MIME-Version: 1.0
Date: Mon, 4 Sep 2023 01:42:00 -0700
Message-ID: <CADwFkm=h2pSDp4x1e7fkGT_yc7h896+p8goAGmOr9PBvvjmHzg@HIDDEN>
Subject: control message for bug #62541
To: control <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

severity 62541 wishlist
quit





Last modified: Mon, 4 Sep 2023 08:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.