Hi,

On Fri, Nov 21, 2025 at 01:27:56PM +0000, Richard Purdie wrote:
> On Fri, 2025-11-21 at 12:59 +0200, Mikko Rapeli via lists.openembedded.org 
> wrote:
> > When testexport.bbclass is used, then build environment and bitbake
> > may not be available when oeqa tests run.
> > 
> > Fixes oeqa test execution:
> > 
> > https://ledge.validation.linaro.org/scheduler/job/123974
> > 
> > ImportError: Failed to import test module: apt
> > Traceback (most recent call last):
> >   File "/usr/lib/python3.13/unittest/loader.py", line 396, in 
> > _find_test_path
> >     module = self._get_module_from_name(name)
> >   File "/usr/lib/python3.13/unittest/loader.py", line 339, in 
> > _get_module_from_name
> >     __import__(name)
> >     ~~~~~~~~~~^^^^^^
> >   File 
> > "/lava-downloads/core-image-sato/meta/lib/oeqa/runtime/cases/apt.py", line 
> > 8, in <module>
> >     from oeqa.utils.httpserver import HTTPService
> >   File "/lava-downloads/core-image-sato/meta/lib/oeqa/utils/httpserver.py", 
> > line 9, in <module>
> >     from bb import multiprocessing
> > ModuleNotFoundError: No module named 'bb'
> 
> Breaks with python 3.14.

Understood but this would fix current test setups which still have python 3.13.

Cheers,

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

Reply via email to