Skip to contentSkip to conversation

python3-pyyaml: add python3-netclient to RDEPENDS

PATCH New Trevor Gamblin 1 participant 1 message May 12, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-pyyaml: add python3-netclient to RDEPENDS

pyyaml relies on the base64 module (which is in python3-netclient), but it is not in RDEPENDS, so add it:

|Python 3.8.2 (default, Apr 27 2020, 08:51:00)
|[GCC 9.3.0] on linux
|Type "help", "copyright", "credits" or "license" for more information.
|>>> import yaml
|Traceback (most recent call last):
|File "<stdin>", line 1, in <module>
|File "/usr/lib64/python3.8/site-packages/yaml/_init_.py", line 8, in <module>
|from .loader import *
|File "/usr/lib64/python3.8/site-packages/yaml/loader.py", line 8, in <module>
|from .constructor import *
|File "/usr/lib64/python3.8/site-packages/yaml/constructor.py", line 14, in <module>
|import collections.abc, datetime, base64, binascii, re, sys, types
|ModuleNotFoundError: No module named 'base64'
---
 meta-python/recipes-devtools/python/python3-pyyaml_5.3.bb | 1 +
 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-pyyaml_5.3.bb +1 -0
index b5425b8c9..17868a25d 100644
@@ -13,6 +13,7 @@ SRC_URI[sha256sum] = "e9f45bd5b92c7974e59bcd2dcc8631a6b6cc380a904725fce7bc08872e
 
 RDEPENDS_${PN} += "\
     ${PYTHON_PN}-datetime \
+    ${PYTHON_PN}-netclient \
 "
 
 BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.25.4