diff mbox series

bitbake: also hide os.fork() deprecation warning

Message ID 20260204134521.2578720-1-peter.marko@siemens.com
State Accepted, archived
Commit 921e4ce1e030e4c8c3ecd5d6ffc7343df473d13c
Headers show
Series bitbake: also hide os.fork() deprecation warning | expand

Commit Message

Marko, Peter Feb. 4, 2026, 1:45 p.m. UTC
From: Peter Marko <peter.marko@siemens.com>

Copied from bitbake-server/worker/layers.
This is seen also for bitbake command invocations.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
---
 bin/bitbake | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/bin/bitbake b/bin/bitbake
index a995bd665..2eb5f9103 100755
--- a/bin/bitbake
+++ b/bin/bitbake
@@ -14,6 +14,7 @@  import os
 import sys
 import warnings
 warnings.simplefilter("default")
+warnings.filterwarnings("ignore", category=DeprecationWarning, message=".*use.of.fork.*may.lead.to.deadlocks.in.the.child.*")
 
 sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(__file__)),
                                 'lib'))