Skip to contentSkip to conversation

package/python-can: remove msgpack dependency

PATCH Applied Marcus Hoffmann via buildroot 1 participant 3 messages Dec 4, 2025 – Jan 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-can: remove msgpack dependency

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

---
 package/python-can/Config.in | 1 -
 1 file changed, 1 deletion(-)
package/python-can/Config.in +0 -1
index 34ba35bad2..e3f47813af 100644
@@ -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
Signature · 6 lines
2.52.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 9 lines · On Thu, 4 Dec 2025 20:06:09 +0100 Marcus Hoffmann via buildroot…

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.

Quoted 6 lines

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

---
 package/python-can/Config.in | 1 -
 1 file changed, 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to Marcus Hoffmann via buildroot

In reply of:

Quoted 9 lines

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.

Quoted 3 lines

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

Applied to 2025.11.x. Thanks

Quoted 23 lines
---
 package/python-can/Config.in | 1 -
 1 file changed, 1 deletion(-)
package/python-can/Config.in +0 -1
index 34ba35bad2..e3f47813af 100644
@@ -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
Signature · 6 lines
2.52.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot