bitbake-layers: Also hide os.fork() deprecation warning
PATCH 1/1 bitbake-layers: Also hide os.fork() deprecation warning
Import the deprecation warning hiding line from bitbake server/worker code. Justification is still the same, we are being fairly careful here and believe this code is safe.
Signed-off-by Mathieu Dubois-Briand <[email protected]>
--- bin/bitbake-layers | 1 + 1 file changed, 1 insertion(+)
bin/bitbake-layers +1 -0
@@ -16,6 +16,7 @@ import sys import argparse import warnings warnings.simplefilter("default") +warnings.filterwarnings("ignore", category=DeprecationWarning, message=".*use.of.fork.*may.lead.to.deadlocks.in.the.child.*") bindir = os.path.dirname(__file__) toolname = os.path.basename(__file__).split(".")[0]
---
base-commit: 720df1a53452983c1c832f624490e255cf389204
change-id: 20251208-mathieu-fork-warning-bcecc70daaed
Best regards,
Signature · 1 line
Mathieu Dubois-Briand <[email protected]>