Skip to contentSkip to conversation

bitbake-layers: Also hide os.fork() deprecation warning

PATCH New Mathieu Dubois-Briand 1 participant 1 message Dec 8, 2025

lore
Share & tools
lore
#0 lore raw

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.

---
 bin/bitbake-layers | 1 +
 1 file changed, 1 insertion(+)
bin/bitbake-layers +1 -0
index c49a5f30eef4..37c196226cbe 100755
@@ -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]>