diff mbox series

[meta-python] python3-twisted: add python3-attrs to RDEPENDS

Message ID 20240822174540.21475-1-gudni.m.g@gmail.com
State Accepted
Headers show
Series [meta-python] python3-twisted: add python3-attrs to RDEPENDS | expand

Commit Message

Guðni Már Gilbert Aug. 22, 2024, 5:45 p.m. UTC
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 <gudni.m.g@gmail.com>
---
 meta-python/recipes-devtools/python/python3-twisted_24.7.0.bb | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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 \