Skip to contentSkip to conversation

python3-twisted: add python3-attrs to RDEPENDS

PATCH In review Guðni Már Gilbert 1 participant 2 messages Dec 28, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-twisted: add python3-attrs to RDEPENDS

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.

---
 meta-python/recipes-devtools/python/python3-twisted_24.3.0.bb | 1 +
 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-twisted_24.3.0.bb +1 -0
index 272aecb8b..b63b62b2f 100644
@@ -54,6 +54,7 @@ RDEPENDS:${PN} = "\
 
 RDEPENDS:${PN}-core = "python3-appdirs \
                        python3-asyncio \
+                       python3-attrs \
                        python3-automat \
                        python3-constantly \
                        python3-core \
Signature · 1 line
2.43.0
#1 lore raw

Note: this is already in styhead. I forgot to submit this backport patch for scarthgap. No harm in having the dependency graph more correct :)