Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/python-zlmdb: select python3 zlib support
@ 2026-10-13 14:04 Yegor Yefremov via buildroot
  2026-10-13 14:04 ` [Buildroot] [PATCH 2/2] package/python-zlmdb: bump to version 26.7.1 Yegor Yefremov
  2026-10-13 21:09 ` [Buildroot] [PATCH 1/2] package/python-zlmdb: select python3 zlib support Thomas Petazzoni via buildroot
  0 siblings, 2 replies; 4+ messages in thread
From: Yegor Yefremov via buildroot @ 2026-10-13 14:04 UTC (permalink / raw)
  To: buildroot; +Cc: James Hilliard

zlmdb/_pmap.py unconditionally imports the zlib module, so importing
zlmdb fails without it:

  ModuleNotFoundError: No module named 'zlib'

Select BR2_PACKAGE_PYTHON3_ZLIB.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Assisted-by: Claude:claude-opus-5-5
---
 package/python-zlmdb/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/python-zlmdb/Config.in b/package/python-zlmdb/Config.in
index 884cfff182..1edf993ecd 100644
--- a/package/python-zlmdb/Config.in
+++ b/package/python-zlmdb/Config.in
@@ -5,6 +5,7 @@ config BR2_PACKAGE_PYTHON_ZLMDB
 	depends on BR2_INSTALL_LIBSTDCPP # python-numpy
 	depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # python-numpy
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_9 # python-numpy
+	select BR2_PACKAGE_PYTHON3_ZLIB # runtime
 	select BR2_PACKAGE_PYTHON_CBOR2 # runtime
 	select BR2_PACKAGE_PYTHON_CFFI # runtime
 	select BR2_PACKAGE_PYTHON_CLICK # runtime
-- 
2.34.1

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

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

end of thread, other threads:[~2026-10-13 21:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-13 14:04 [Buildroot] [PATCH 1/2] package/python-zlmdb: select python3 zlib support Yegor Yefremov via buildroot
2026-10-13 14:04 ` [Buildroot] [PATCH 2/2] package/python-zlmdb: bump to version 26.7.1 Yegor Yefremov
2026-10-13 21:12   ` Thomas Petazzoni via buildroot
2026-10-13 21:09 ` [Buildroot] [PATCH 1/2] package/python-zlmdb: select python3 zlib support Thomas Petazzoni via buildroot

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