unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#70393] [PATCH] gnu: python-pydevd: Use gdb/pinned.
@ 2024-04-15  8:25 Christopher Baines
  2024-04-15 16:27 ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Christopher Baines @ 2024-04-15  8:25 UTC (permalink / raw)
  To: 70393
  Cc: Lars-Dominik Braun, Marius Bakke, Munyoki Kilyungi,
	Sharlatan Hellseher, Tanguy Le Carrour, jgart

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





^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#70393] [PATCH] gnu: python-pydevd: Use gdb/pinned.
  2024-04-15  8:25 [bug#70393] [PATCH] gnu: python-pydevd: Use gdb/pinned Christopher Baines
@ 2024-04-15 16:27 ` Ludovic Courtès
  2024-04-17 13:43   ` Christopher Baines
  0 siblings, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2024-04-15 16:27 UTC (permalink / raw)
  To: Christopher Baines
  Cc: Sharlatan Hellseher, Munyoki Kilyungi, 70393, Lars-Dominik Braun,
	jgart, Marius Bakke, Tanguy Le Carrour

Hi!

Christopher Baines <mail@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’.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#70393] [PATCH] gnu: python-pydevd: Use gdb/pinned.
  2024-04-15 16:27 ` Ludovic Courtès
@ 2024-04-17 13:43   ` Christopher Baines
  2024-04-25 15:09     ` Lars-Dominik Braun
  0 siblings, 1 reply; 5+ messages in thread
From: Christopher Baines @ 2024-04-17 13:43 UTC (permalink / raw)
  To: Ludovic Courtès
  Cc: Sharlatan Hellseher, Munyoki Kilyungi, 70393, Lars-Dominik Braun,
	jgart, Marius Bakke, Tanguy Le Carrour

[-- Attachment #1: Type: text/plain, Size: 831 bytes --]

Ludovic Courtès <ludo@gnu.org> writes:

> Hi!
>
> Christopher Baines <mail@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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#70393] [PATCH] gnu: python-pydevd: Use gdb/pinned.
  2024-04-17 13:43   ` Christopher Baines
@ 2024-04-25 15:09     ` Lars-Dominik Braun
  2024-05-01  9:53       ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Lars-Dominik Braun @ 2024-04-25 15:09 UTC (permalink / raw)
  To: Christopher Baines
  Cc: Tanguy Le Carrour, Munyoki Kilyungi, Ludovic Courtès, 70393,
	jgart, Marius Bakke, Sharlatan Hellseher

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





^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#70393] [PATCH] gnu: python-pydevd: Use gdb/pinned.
  2024-04-25 15:09     ` Lars-Dominik Braun
@ 2024-05-01  9:53       ` Ludovic Courtès
  0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2024-05-01  9:53 UTC (permalink / raw)
  To: Lars-Dominik Braun
  Cc: 70393, Tanguy Le Carrour, Munyoki Kilyungi, Christopher Baines,
	jgart, Marius Bakke, Sharlatan Hellseher

Hi,

Lars-Dominik Braun <lars@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’.




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-05-01  9:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-15  8:25 [bug#70393] [PATCH] gnu: python-pydevd: Use gdb/pinned Christopher Baines
2024-04-15 16:27 ` Ludovic Courtès
2024-04-17 13:43   ` Christopher Baines
2024-04-25 15:09     ` Lars-Dominik Braun
2024-05-01  9:53       ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).