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
  2024-11-03 15:32 ` [bug#70393] [PATCH] " Nicolas Graves via Guix-patches via
  0 siblings, 2 replies; 9+ 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] 9+ 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
  2024-11-03 15:32 ` [bug#70393] [PATCH] " Nicolas Graves via Guix-patches via
  1 sibling, 1 reply; 9+ 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] 9+ 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; 9+ 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] 9+ 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; 9+ 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] 9+ 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
  2024-10-24 12:56         ` [bug#70393] [PATCH v2] " Ludovic Courtès
  0 siblings, 1 reply; 9+ 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] 9+ messages in thread

* [bug#70393] [PATCH v2] gnu: python-pydevd: Use gdb/pinned.
  2024-05-01  9:53       ` Ludovic Courtès
@ 2024-10-24 12:56         ` Ludovic Courtès
  2024-11-29 15:40           ` bug#70393: " Ludovic Courtès
  0 siblings, 1 reply; 9+ messages in thread
From: Ludovic Courtès @ 2024-10-24 12:56 UTC (permalink / raw)
  To: 70393
  Cc: Ludovic Courtès, Christopher Baines, Lars-Dominik Braun,
	Marius Bakke, Munyoki Kilyungi, Sharlatan Hellseher,
	Tanguy Le Carrour, jgart

From: Christopher Baines <mail@cbaines.net>

To allow gdb to be updated more easily.

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

Change-Id: Icf417f89933bc190bf4c0d869c199cfe50d463ef
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/packages/python-xyz.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Dear qa.guix, could you please build this for us?

Ludo'.

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b58eb1ff88..95c33342b6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17093,7 +17093,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: f125143d64c3fac8c9576a55b48331cbf6096460
-- 
2.46.0





^ permalink raw reply related	[flat|nested] 9+ 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-11-03 15:32 ` Nicolas Graves via Guix-patches via
  1 sibling, 0 replies; 9+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2024-11-03 15:32 UTC (permalink / raw)
  To: 70393, Ludovic Courtès

Hi Ludo,

I have two/three patches updating python-debugpy to its latest version,
also refreshing pydevd in the process.  Can I append them in this patch
series ?  I've checked that it updates properly until python-ipykernel,
so it is probably correct for other packages that most likely rely on
ipykernel rather than pydevd api.

Also, this have more than 400 rebuilds, will that not abort the build on
QA once the derivation is evaluated? 

By the way, is there a way to make QA prioritize some builds?  Like
[security fixes] or [important] tags?  I guess that would be welcome if
users don't take advantage of that too much.

-- 
Best regards,
Nicolas Graves




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

* bug#70393: [PATCH v2] gnu: python-pydevd: Use gdb/pinned.
  2024-10-24 12:56         ` [bug#70393] [PATCH v2] " Ludovic Courtès
@ 2024-11-29 15:40           ` Ludovic Courtès
  2024-11-29 16:15             ` [bug#70393] " jgart via Guix-patches via
  0 siblings, 1 reply; 9+ messages in thread
From: Ludovic Courtès @ 2024-11-29 15:40 UTC (permalink / raw)
  To: 70393-done
  Cc: Sharlatan Hellseher, Munyoki Kilyungi, Christopher Baines,
	Lars-Dominik Braun, jgart, Marius Bakke, Tanguy Le Carrour

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

> From: Christopher Baines <mail@cbaines.net>
>
> To allow gdb to be updated more easily.
>
> * gnu/packages/python-xyz.scm (python-pydevd)[inputs]: Use gdb/pinned.
>
> Change-Id: Icf417f89933bc190bf4c0d869c199cfe50d463ef
> Signed-off-by: Ludovic Courtès <ludo@gnu.org>
> ---
>  gnu/packages/python-xyz.scm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> Dear qa.guix, could you please build this for us?

Apparently no, so I went ahead and pushed it as
94bb6a5a88b17da1178fdc1d16cb87b9913bc1c1.

Ludo’.




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

* [bug#70393] [PATCH v2] gnu: python-pydevd: Use gdb/pinned.
  2024-11-29 15:40           ` bug#70393: " Ludovic Courtès
@ 2024-11-29 16:15             ` jgart via Guix-patches via
  0 siblings, 0 replies; 9+ messages in thread
From: jgart via Guix-patches via @ 2024-11-29 16:15 UTC (permalink / raw)
  To: Ludovic Courtès, 70393-done
  Cc: Sharlatan Hellseher, Munyoki Kilyungi, Christopher Baines,
	Lars-Dominik Braun, Marius Bakke, Tanguy Le Carrour

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

> 
> Apparently no, so I went ahead and pushed it as
> 94bb6a5a88b17da1178fdc1d16cb87b9913bc1c1.
> Ludo’.
> 
Thanks!

[-- Attachment #2: Type: text/html, Size: 332 bytes --]

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

end of thread, other threads:[~2024-11-29 16:16 UTC | newest]

Thread overview: 9+ 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
2024-10-24 12:56         ` [bug#70393] [PATCH v2] " Ludovic Courtès
2024-11-29 15:40           ` bug#70393: " Ludovic Courtès
2024-11-29 16:15             ` [bug#70393] " jgart via Guix-patches via
2024-11-03 15:32 ` [bug#70393] [PATCH] " Nicolas Graves via Guix-patches via

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).