GNU bug report logs -
#73781
[PATCH] Upgrade out-of-date dependencies with package-vc
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 73781 in the body.
You can then email your comments to 73781 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#73781
; Package
emacs
.
(Sat, 12 Oct 2024 23:25:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Joseph Turner <joseph <at> breatheoutbreathe.in>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sat, 12 Oct 2024 23:25:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Tags: patch
I noticed this bug when working on hyperdrive.el, which I had installed
with package-vc-install-from-checkout. I updated the version of its
transient.el dependency in the Package-Requires header and attempted to
reinstall, but it did not attempt to update the dependency.
I think the attached patch may not be the whole solution. I applied it,
attempted package-vc-install-from-checkout again, and got this error:
package--with-response-buffer-1: https://melpa.org/packages/transient-20241004.1739.tar: Not found
Do we need to call package-refresh-contents at some point inside of
package-vc-install-dependencies?
Thank you!
Joseph
[0001-Upgrade-out-of-date-dependencies.patch (text/patch, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#73781
; Package
emacs
.
(Thu, 02 Jan 2025 02:15:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 73781 <at> debbugs.gnu.org (full text, mbox):
Joseph Turner <joseph <at> breatheoutbreathe.in> writes:
> Tags: patch
>
> I noticed this bug when working on hyperdrive.el, which I had installed
> with package-vc-install-from-checkout. I updated the version of its
> transient.el dependency in the Package-Requires header and attempted to
> reinstall, but it did not attempt to update the dependency.
>
> I think the attached patch may not be the whole solution. I applied it,
> attempted package-vc-install-from-checkout again, and got this error:
>
> package--with-response-buffer-1: https://melpa.org/packages/transient-20241004.1739.tar: Not found
>
> Do we need to call package-refresh-contents at some point inside of
> package-vc-install-dependencies?
>
> Thank you!
>
> Joseph
Philip, any comments?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#73781
; Package
emacs
.
(Sun, 23 Feb 2025 00:25:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 73781 <at> debbugs.gnu.org (full text, mbox):
Stefan Kangas <stefankangas <at> gmail.com> writes:
> Joseph Turner <joseph <at> breatheoutbreathe.in> writes:
>
>> Tags: patch
>>
>> I noticed this bug when working on hyperdrive.el, which I had installed
>> with package-vc-install-from-checkout. I updated the version of its
>> transient.el dependency in the Package-Requires header and attempted to
>> reinstall, but it did not attempt to update the dependency.
>>
>> I think the attached patch may not be the whole solution. I applied it,
>> attempted package-vc-install-from-checkout again, and got this error:
>>
>> package--with-response-buffer-1: https://melpa.org/packages/transient-20241004.1739.tar: Not found
>>
>> Do we need to call package-refresh-contents at some point inside of
>> package-vc-install-dependencies?
>>
>> Thank you!
>>
>> Joseph
>
> Philip, any comments?
Ping. Philip, WDYT?
Reply sent
to
Philip Kaludercic <philipk <at> posteo.net>
:
You have taken responsibility.
(Sun, 23 Feb 2025 11:23:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Joseph Turner <joseph <at> breatheoutbreathe.in>
:
bug acknowledged by developer.
(Sun, 23 Feb 2025 11:23:01 GMT)
Full text and
rfc822 format available.
Message #16 received at 73781-done <at> debbugs.gnu.org (full text, mbox):
Joseph Turner <joseph <at> breatheoutbreathe.in> writes:
> Tags: patch
>
> I noticed this bug when working on hyperdrive.el, which I had installed
> with package-vc-install-from-checkout. I updated the version of its
> transient.el dependency in the Package-Requires header and attempted to
> reinstall, but it did not attempt to update the dependency.
>
> I think the attached patch may not be the whole solution. I applied it,
> attempted package-vc-install-from-checkout again, and got this error:
>
> package--with-response-buffer-1: https://melpa.org/packages/transient-20241004.1739.tar: Not found
>
> Do we need to call package-refresh-contents at some point inside of
> package-vc-install-dependencies?
>
> Thank you!
>
> Joseph
>
>>From fd05beab4903e3ba9f2a6866a00e924f8bcd5637 Mon Sep 17 00:00:00 2001
> From: Joseph Turner <joseph <at> breatheoutbreathe.in>
> Date: Sun, 13 Oct 2024 01:10:02 +0200
> Subject: [PATCH] Upgrade out-of-date dependencies
>
> * lisp/emacs-lisp/package-vc.el (package-vc-install-dependencies): Pass
> the specified package version when checking if a package is installed.
> ---
> lisp/emacs-lisp/package-vc.el | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lisp/emacs-lisp/package-vc.el b/lisp/emacs-lisp/package-vc.el
> index e168096e153..58916637008 100644
> --- a/lisp/emacs-lisp/package-vc.el
> +++ b/lisp/emacs-lisp/package-vc.el
> @@ -465,7 +465,7 @@ package-vc-install-dependencies
> "Attempt to find all dependencies for PKG."
> (cond
> ((assq (car pkg) to-install)) ;inhibit cycles
> - ((package-installed-p (car pkg)))
> + ((package-installed-p (car pkg) (cadr pkg)))
> ((let* ((pac package-archive-contents)
> (desc (cadr (assoc (car pkg) pac))))
> (if desc
Stefan Kangas <stefankangas <at> gmail.com> writes:
> Stefan Kangas <stefankangas <at> gmail.com> writes:
>
>> Joseph Turner <joseph <at> breatheoutbreathe.in> writes:
>>
>>> Tags: patch
>>>
>>> I noticed this bug when working on hyperdrive.el, which I had installed
>>> with package-vc-install-from-checkout. I updated the version of its
>>> transient.el dependency in the Package-Requires header and attempted to
>>> reinstall, but it did not attempt to update the dependency.
>>>
>>> I think the attached patch may not be the whole solution. I applied it,
>>> attempted package-vc-install-from-checkout again, and got this error:
>>>
>>> package--with-response-buffer-1: https://melpa.org/packages/transient-20241004.1739.tar: Not found
>>>
>>> Do we need to call package-refresh-contents at some point inside of
>>> package-vc-install-dependencies?
>>>
>>> Thank you!
>>>
>>> Joseph
>>
>> Philip, any comments?
>
> Ping. Philip, WDYT?
My apologies for missing the message! Yes, the change makes sense and I
can push it to master. If you think it is worthwhile, please
cherry-pick it onto the emacs-30 branch.
Thanks!
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#73781
; Package
emacs
.
(Sun, 23 Feb 2025 13:52:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 73781 <at> debbugs.gnu.org (full text, mbox):
Philip Kaludercic <philipk <at> posteo.net> writes:
> My apologies for missing the message! Yes, the change makes sense and I
> can push it to master. If you think it is worthwhile, please
> cherry-pick it onto the emacs-30 branch.
If you think it's safe, we can cherry-pick it after Emacs 30.1 is out.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#73781
; Package
emacs
.
(Sun, 23 Feb 2025 14:25:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 73781 <at> debbugs.gnu.org (full text, mbox):
Stefan Kangas <stefankangas <at> gmail.com> writes:
> Philip Kaludercic <philipk <at> posteo.net> writes:
>
>> My apologies for missing the message! Yes, the change makes sense and I
>> can push it to master. If you think it is worthwhile, please
>> cherry-pick it onto the emacs-30 branch.
>
> If you think it's safe, we can cherry-pick it after Emacs 30.1 is out.
That is fine with me as well.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#73781
; Package
emacs
.
(Sun, 23 Feb 2025 20:14:01 GMT)
Full text and
rfc822 format available.
Message #25 received at 73781 <at> debbugs.gnu.org (full text, mbox):
Philip Kaludercic <philipk <at> posteo.net> writes:
> Stefan Kangas <stefankangas <at> gmail.com> writes:
>
>> Philip Kaludercic <philipk <at> posteo.net> writes:
>>
>>> My apologies for missing the message! Yes, the change makes sense and I
>>> can push it to master. If you think it is worthwhile, please
>>> cherry-pick it onto the emacs-30 branch.
>>
>> If you think it's safe, we can cherry-pick it after Emacs 30.1 is out.
>
> That is fine with me as well.
Thank you!
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#73781
; Package
emacs
.
(Sun, 23 Feb 2025 23:19:01 GMT)
Full text and
rfc822 format available.
Message #28 received at 73781-done <at> debbugs.gnu.org (full text, mbox):
Joseph Turner <joseph <at> breatheoutbreathe.in> writes:
> Philip Kaludercic <philipk <at> posteo.net> writes:
>
>> Stefan Kangas <stefankangas <at> gmail.com> writes:
>>
>>> Philip Kaludercic <philipk <at> posteo.net> writes:
>>>
>>>> My apologies for missing the message! Yes, the change makes sense and I
>>>> can push it to master. If you think it is worthwhile, please
>>>> cherry-pick it onto the emacs-30 branch.
>>>
>>> If you think it's safe, we can cherry-pick it after Emacs 30.1 is out.
>>
>> That is fine with me as well.
>
> Thank you!
Now done in commit d63b27a416b.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 24 Mar 2025 11:24:12 GMT)
Full text and
rfc822 format available.
This bug report was last modified 114 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.