Skip to contentSkip to conversation

utils.py: use multiprocessing from bb

PATCH In review [email protected] 2 participants 2 messages Aug 12, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 utils.py: use multiprocessing from bb

From: Martin Jansa <[email protected]>

Fixes build with python-3.14

It was added to bitbake in 62be9113d98fccb347c6aa0a10d5c4ee2857f8b6 and oe-core now requires latest bitbake already, so we can use this.

[YOCTO #15858]

---
 meta/lib/oe/utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/lib/oe/utils.py +1 -1
index 8aa15373f1..0128ee411d 100644
@@ -5,11 +5,11 @@
 #
 
 import subprocess
-import multiprocessing
 import traceback
 import errno
 
 import bb.parse
+from bb import multiprocessing
 
 def read_file(filename):
     try:
Reviewed-by on v1 1/1
#1 lore raw

LGTM

Quoted 43 lines · Martin Jansa via lists.openembedded.org

From: Martin Jansa <[email protected]>

Fixes build with python-3.14

It was added to bitbake in 62be9113d98fccb347c6aa0a10d5c4ee2857f8b6 and oe-core now requires latest bitbake already, so we can use this.

[YOCTO #15858]

---
 meta/lib/oe/utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/lib/oe/utils.py +1 -2
index 8aa15373f1..0128ee411d 100644
@@ -5,11 +5,11 @@
 #
 
 import subprocess
-import multiprocessing
 import traceback
 import errno
 
 import bb.parse
+from bb import multiprocessing
 
 def read_file(filename):
     try:
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group. View/Reply Online (#221758):
https://lists.openembedded.org/g/openembedded-core/message/221758
Mute This Topic: https://lists.openembedded.org/mt/114662985/3616693
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-