Skip to contentSkip to conversation

python3-twisted: add python3-attrs to RDEPENDS

PATCH New Guðni Már Gilbert 1 participant 1 message Aug 22, 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.7.0.bb | 1 +
 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-twisted_24.7.0.bb +1 -0
index af95996d5..e0472d1d8 100644
@@ -49,6 +49,7 @@ RDEPENDS:${PN} = "\
 
 RDEPENDS:${PN}-core = "python3-appdirs \
                        python3-asyncio \
+                       python3-attrs \
                        python3-automat \
                        python3-constantly \
                        python3-core \
Signature · 1 line
2.34.1