Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/python-can: remove msgpack dependency
@ 2025-12-04 19:06 Marcus Hoffmann via buildroot
  2025-12-27 15:57 ` Thomas Petazzoni via buildroot
  2026-01-07 17:55 ` Arnout Vandecappelle via buildroot
  0 siblings, 2 replies; 3+ messages in thread
From: Marcus Hoffmann via buildroot @ 2025-12-04 19:06 UTC (permalink / raw)
  To: buildroot; +Cc: Angelo Compagnucci, James Hilliard

Dependency was made optional in 4.6.0 release here:
https://github.com/hardbyte/python-can/commit/6058ab9dfe8b3ba5d23cbff670c0fe767147390a

python-can has a lot of optional dependencies, most of which are not
represented in buildroot. As msgpack is used for the virtual multicast
udp can interface[1], which does seem like a bit of a niche usecase,
just drop the mandatory dependency without introducing a user-visible
config option to enable it.

[1] https://python-can.readthedocs.io/en/4.0.0/interfaces/udp_multicast.html

Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
---
 package/python-can/Config.in | 1 -
 1 file changed, 1 deletion(-)

diff --git a/package/python-can/Config.in b/package/python-can/Config.in
index 34ba35bad2..e3f47813af 100644
--- a/package/python-can/Config.in
+++ b/package/python-can/Config.in
@@ -2,7 +2,6 @@ config BR2_PACKAGE_PYTHON_CAN
 	bool "python-can"
 	select BR2_PACKAGE_PYTHON3_SQLITE # runtime
 	select BR2_PACKAGE_PYTHON3_ZLIB # runtime
-	select BR2_PACKAGE_PYTHON_MSGPACK # runtime
 	select BR2_PACKAGE_PYTHON_PACKAGING # runtime
 	select BR2_PACKAGE_PYTHON_TYPING_EXTENSIONS # runtime
 	select BR2_PACKAGE_PYTHON_WRAPT # runtime
-- 
2.52.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] package/python-can: remove msgpack dependency
  2025-12-04 19:06 [Buildroot] [PATCH] package/python-can: remove msgpack dependency Marcus Hoffmann via buildroot
@ 2025-12-27 15:57 ` Thomas Petazzoni via buildroot
  2026-01-07 17:55 ` Arnout Vandecappelle via buildroot
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2025-12-27 15:57 UTC (permalink / raw)
  To: Marcus Hoffmann via buildroot
  Cc: Marcus Hoffmann, Angelo Compagnucci, James Hilliard

On Thu,  4 Dec 2025 20:06:09 +0100
Marcus Hoffmann via buildroot <buildroot@buildroot.org> wrote:

> Dependency was made optional in 4.6.0 release here:
> https://github.com/hardbyte/python-can/commit/6058ab9dfe8b3ba5d23cbff670c0fe767147390a
> 
> python-can has a lot of optional dependencies, most of which are not
> represented in buildroot. As msgpack is used for the virtual multicast
> udp can interface[1], which does seem like a bit of a niche usecase,
> just drop the mandatory dependency without introducing a user-visible
> config option to enable it.
> 
> [1] https://python-can.readthedocs.io/en/4.0.0/interfaces/udp_multicast.html
> 
> Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
> ---
>  package/python-can/Config.in | 1 -
>  1 file changed, 1 deletion(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] package/python-can: remove msgpack dependency
  2025-12-04 19:06 [Buildroot] [PATCH] package/python-can: remove msgpack dependency Marcus Hoffmann via buildroot
  2025-12-27 15:57 ` Thomas Petazzoni via buildroot
@ 2026-01-07 17:55 ` Arnout Vandecappelle via buildroot
  1 sibling, 0 replies; 3+ messages in thread
From: Arnout Vandecappelle via buildroot @ 2026-01-07 17:55 UTC (permalink / raw)
  To: Marcus Hoffmann; +Cc: Arnout Vandecappelle, buildroot

In reply of:
> Dependency was made optional in 4.6.0 release here:
> https://github.com/hardbyte/python-can/commit/6058ab9dfe8b3ba5d23cbff670c0fe767147390a
> 
> python-can has a lot of optional dependencies, most of which are not
> represented in buildroot. As msgpack is used for the virtual multicast
> udp can interface[1], which does seem like a bit of a niche usecase,
> just drop the mandatory dependency without introducing a user-visible
> config option to enable it.
> 
> [1] https://python-can.readthedocs.io/en/4.0.0/interfaces/udp_multicast.html
> 
> Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>

Applied to 2025.11.x. Thanks

> ---
>  package/python-can/Config.in | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/package/python-can/Config.in b/package/python-can/Config.in
> index 34ba35bad2..e3f47813af 100644
> --- a/package/python-can/Config.in
> +++ b/package/python-can/Config.in
> @@ -2,7 +2,6 @@ config BR2_PACKAGE_PYTHON_CAN
>  	bool "python-can"
>  	select BR2_PACKAGE_PYTHON3_SQLITE # runtime
>  	select BR2_PACKAGE_PYTHON3_ZLIB # runtime
> -	select BR2_PACKAGE_PYTHON_MSGPACK # runtime
>  	select BR2_PACKAGE_PYTHON_PACKAGING # runtime
>  	select BR2_PACKAGE_PYTHON_TYPING_EXTENSIONS # runtime
>  	select BR2_PACKAGE_PYTHON_WRAPT # runtime
> -- 
> 2.52.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2026-01-07 17:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-04 19:06 [Buildroot] [PATCH] package/python-can: remove msgpack dependency Marcus Hoffmann via buildroot
2025-12-27 15:57 ` Thomas Petazzoni via buildroot
2026-01-07 17:55 ` Arnout Vandecappelle via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox