| Message ID | 20251208-mathieu-fork-warning-v1-1-6d74b0ae8962@bootlin.com |
|---|---|
| State | New |
| Headers | show |
| Series | bitbake-layers: Also hide os.fork() deprecation warning | expand |
diff --git a/bin/bitbake-layers b/bin/bitbake-layers index c49a5f30eef4..37c196226cbe 100755 --- a/bin/bitbake-layers +++ b/bin/bitbake-layers @@ -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]
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 <mathieu.dubois-briand@bootlin.com> --- bin/bitbake-layers | 1 + 1 file changed, 1 insertion(+) --- base-commit: 720df1a53452983c1c832f624490e255cf389204 change-id: 20251208-mathieu-fork-warning-bcecc70daaed Best regards,