This fixes the following issue: python3[677]: Traceback (most recent call last): python3[677]: File "/usr/lib/python3.12/site-packages/myownscript.py", line 9, in <module> python3[677]: from twisted.internet import defer python3[677]: File "/usr/lib/python3.12/site-packages/twisted/internet/defer.py", line 44, in <module> python3[677]: import attr python3[677]: ModuleNotFoundError: No module named 'attr'
Currently python3-attrs is provided indirectly by python3-automat. But when python3-automat is updated to >= 24.8.1, python3-attrs is no longer indirectly provided. The twisted recipe must declare the dependency on python3-attrs. Signed-off-by: Guðni Már Gilbert <[email protected]> Signed-off-by: Khem Raj <[email protected]> --- meta-python/recipes-devtools/python/python3-twisted_24.3.0.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-python/recipes-devtools/python/python3-twisted_24.3.0.bb b/meta-python/recipes-devtools/python/python3-twisted_24.3.0.bb index 272aecb8b..b63b62b2f 100644 --- a/meta-python/recipes-devtools/python/python3-twisted_24.3.0.bb +++ b/meta-python/recipes-devtools/python/python3-twisted_24.3.0.bb @@ -54,6 +54,7 @@ RDEPENDS:${PN} = "\ RDEPENDS:${PN}-core = "python3-appdirs \ python3-asyncio \ + python3-attrs \ python3-automat \ python3-constantly \ python3-core \ -- 2.43.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#114577): https://lists.openembedded.org/g/openembedded-devel/message/114577 Mute This Topic: https://lists.openembedded.org/mt/110320491/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
