diff mbox series

[meta-networking,RFC] nftables: build with native python instead of host python

Message ID 20260314182603.482152-1-skandigraun@gmail.com
State New
Headers show
Series [meta-networking,RFC] nftables: build with native python instead of host python | expand

Commit Message

Gyorgy Sarvari March 14, 2026, 6:26 p.m. UTC
Using old Python on the build host with SetupTools 82 results in an error
message during building:
| error: invalid command 'egg_info'
|
| ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel
| WARNING: exit code 1 from a shell command.

To avoid it, use the native Python environment built by OE.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
---
 meta-networking/recipes-filter/nftables/nftables_1.1.6.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-networking/recipes-filter/nftables/nftables_1.1.6.bb b/meta-networking/recipes-filter/nftables/nftables_1.1.6.bb
index 505dfc12d0..d27e60a18d 100644
--- a/meta-networking/recipes-filter/nftables/nftables_1.1.6.bb
+++ b/meta-networking/recipes-filter/nftables/nftables_1.1.6.bb
@@ -16,7 +16,7 @@  SRC_URI = "http://www.netfilter.org/projects/nftables/files/${BP}.tar.xz \
           "
 SRC_URI[sha256sum] = "372931bda8556b310636a2f9020adc710f9bab66f47efe0ce90bff800ac2530c"
 
-inherit autotools manpages pkgconfig ptest
+inherit autotools manpages pkgconfig ptest python3native
 
 PACKAGECONFIG ?= "python readline json"
 PACKAGECONFIG[editline] = "--with-cli=editline, , libedit, , , linenoise readline"