GNU bug report logs - #70393
[PATCH] gnu: python-pydevd: Use gdb/pinned.

Previous Next

Package: guix-patches;

Reported by: Christopher Baines <mail <at> cbaines.net>

Date: Mon, 15 Apr 2024 08:27:02 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 70393 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, jgart <at> dismail.de, guix-patches <at> gnu.org:
bug#70393; Package guix-patches. (Mon, 15 Apr 2024 08:27:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christopher Baines <mail <at> cbaines.net>:
New bug report received and forwarded. Copy sent to lars <at> 6xq.net, marius <at> gnu.org, me <at> bonfacemunyoki.com, sharlatanus <at> gmail.com, tanguy <at> bioneland.org, jgart <at> dismail.de, guix-patches <at> gnu.org. (Mon, 15 Apr 2024 08:27:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: python-pydevd: Use gdb/pinned.
Date: Mon, 15 Apr 2024 09:25:47 +0100
To allow gdb to be updated more easily.

* gnu/packages/python-xyz.scm (python-pydevd)[inputs]: Use gdb/pinned.

Change-Id: Icf417f89933bc190bf4c0d869c199cfe50d463ef
---
 gnu/packages/python-xyz.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 92566abfed..a19422aa4a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -16471,7 +16471,7 @@ (define-public python-pydevd
              python-pytest-xdist
              python-trio
              python-untangle))
-      (inputs (list coreutils gdb procps))
+      (inputs (list coreutils gdb/pinned procps))
       (home-page "https://github.com/fabioz/PyDev.Debugger/")
       (synopsis "Python debugger")
       (description "PyDev.Debugger is a capable Python debugger used in PyDev

base-commit: 4e7337536ba41e888a601c92fada8a4adca9d2c6
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#70393; Package guix-patches. (Mon, 15 Apr 2024 16:29:02 GMT) Full text and rfc822 format available.

Message #8 received at 70393 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Christopher Baines <mail <at> cbaines.net>
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>,
 Munyoki Kilyungi <me <at> bonfacemunyoki.com>, 70393 <at> debbugs.gnu.org,
 Lars-Dominik Braun <lars <at> 6xq.net>, jgart <jgart <at> dismail.de>,
 Marius Bakke <marius <at> gnu.org>, Tanguy Le Carrour <tanguy <at> bioneland.org>
Subject: Re: [bug#70393] [PATCH] gnu: python-pydevd: Use gdb/pinned.
Date: Mon, 15 Apr 2024 18:27:38 +0200
Hi!

Christopher Baines <mail <at> cbaines.net> skribis:

> To allow gdb to be updated more easily.
>
> * gnu/packages/python-xyz.scm (python-pydevd)[inputs]: Use gdb/pinned.
>
> Change-Id: Icf417f89933bc190bf4c0d869c199cfe50d463ef

[...]

> -      (inputs (list coreutils gdb procps))
> +      (inputs (list coreutils gdb/pinned procps))
>        (home-page "https://github.com/fabioz/PyDev.Debugger/")
>        (synopsis "Python debugger")

If PyDev uses GDB, then it’ll be stuck with an older version of GDB?
Maybe that’s OK?  (I know nothing about PyDev and how it uses GDB so I
can’t really judge whether it’s OK.)

Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#70393; Package guix-patches. (Wed, 17 Apr 2024 13:44:04 GMT) Full text and rfc822 format available.

Message #11 received at 70393 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>,
 Munyoki Kilyungi <me <at> bonfacemunyoki.com>, 70393 <at> debbugs.gnu.org,
 Lars-Dominik Braun <lars <at> 6xq.net>, jgart <jgart <at> dismail.de>,
 Marius Bakke <marius <at> gnu.org>, Tanguy Le Carrour <tanguy <at> bioneland.org>
Subject: Re: [bug#70393] [PATCH] gnu: python-pydevd: Use gdb/pinned.
Date: Wed, 17 Apr 2024 14:43:10 +0100
[Message part 1 (text/plain, inline)]
Ludovic Courtès <ludo <at> gnu.org> writes:

> Hi!
>
> Christopher Baines <mail <at> cbaines.net> skribis:
>
>> To allow gdb to be updated more easily.
>>
>> * gnu/packages/python-xyz.scm (python-pydevd)[inputs]: Use gdb/pinned.
>>
>> Change-Id: Icf417f89933bc190bf4c0d869c199cfe50d463ef
>
> [...]
>
>> -      (inputs (list coreutils gdb procps))
>> +      (inputs (list coreutils gdb/pinned procps))
>>        (home-page "https://github.com/fabioz/PyDev.Debugger/")
>>        (synopsis "Python debugger")
>
> If PyDev uses GDB, then it’ll be stuck with an older version of GDB?
> Maybe that’s OK?  (I know nothing about PyDev and how it uses GDB so I
> can’t really judge whether it’s OK.)

I don't really know either, but at least this will allow updating gdb
without rebuilding a bunch of Python things.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#70393; Package guix-patches. (Thu, 25 Apr 2024 15:10:05 GMT) Full text and rfc822 format available.

Message #14 received at 70393 <at> debbugs.gnu.org (full text, mbox):

From: Lars-Dominik Braun <lars <at> 6xq.net>
To: Christopher Baines <mail <at> cbaines.net>
Cc: Tanguy Le Carrour <tanguy <at> bioneland.org>,
 Munyoki Kilyungi <me <at> bonfacemunyoki.com>,
 Ludovic Courtès <ludo <at> gnu.org>, 70393 <at> debbugs.gnu.org,
 jgart <jgart <at> dismail.de>, Marius Bakke <marius <at> gnu.org>,
 Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: Re: [bug#70393] [PATCH] gnu: python-pydevd: Use gdb/pinned.
Date: Thu, 25 Apr 2024 17:09:21 +0200
Hi Chris,

> > If PyDev uses GDB, then it’ll be stuck with an older version of GDB?
> > Maybe that’s OK?  (I know nothing about PyDev and how it uses GDB so I
> > can’t really judge whether it’s OK.)
> 
> I don't really know either, but at least this will allow updating gdb
> without rebuilding a bunch of Python things.

I don’t see anything that would prevent pydevd running on a pinned/older
GDB version. We might want to verify when we update python-pydevd, but
right now it just attaches to the process and injects a shared object
– that’s all. So, LGTM.

Lars





Information forwarded to guix-patches <at> gnu.org:
bug#70393; Package guix-patches. (Wed, 01 May 2024 09:54:01 GMT) Full text and rfc822 format available.

Message #17 received at 70393 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Lars-Dominik Braun <lars <at> 6xq.net>
Cc: 70393 <at> debbugs.gnu.org, Tanguy Le Carrour <tanguy <at> bioneland.org>,
 Munyoki Kilyungi <me <at> bonfacemunyoki.com>,
 Christopher Baines <mail <at> cbaines.net>, jgart <jgart <at> dismail.de>,
 Marius Bakke <marius <at> gnu.org>, Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: Re: [bug#70393] [PATCH] gnu: python-pydevd: Use gdb/pinned.
Date: Wed, 01 May 2024 11:53:10 +0200
Hi,

Lars-Dominik Braun <lars <at> 6xq.net> skribis:

>> > If PyDev uses GDB, then it’ll be stuck with an older version of GDB?
>> > Maybe that’s OK?  (I know nothing about PyDev and how it uses GDB so I
>> > can’t really judge whether it’s OK.)
>> 
>> I don't really know either, but at least this will allow updating gdb
>> without rebuilding a bunch of Python things.
>
> I don’t see anything that would prevent pydevd running on a pinned/older
> GDB version. We might want to verify when we update python-pydevd, but
> right now it just attaches to the process and injects a shared object
> – that’s all. So, LGTM.

OK, thanks for checking.  Go for it, Chris!

Ludo’.




This bug report was last modified 2 days ago.

Previous Next


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