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]> --- meta-python/recipes-devtools/python/python3-twisted_24.7.0.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-python/recipes-devtools/python/python3-twisted_24.7.0.bb b/meta-python/recipes-devtools/python/python3-twisted_24.7.0.bb index af95996d5..e0472d1d8 100644 --- a/meta-python/recipes-devtools/python/python3-twisted_24.7.0.bb +++ b/meta-python/recipes-devtools/python/python3-twisted_24.7.0.bb @@ -49,6 +49,7 @@ RDEPENDS:${PN} = "\ RDEPENDS:${PN}-core = "python3-appdirs \ python3-asyncio \ + python3-attrs \ python3-automat \ python3-constantly \ python3-core \ -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#111906): https://lists.openembedded.org/g/openembedded-devel/message/111906 Mute This Topic: https://lists.openembedded.org/mt/108042683/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
