From: Mingli Yu <[email protected]>

Add the missing python3-io RDEPENDS to fix
below error:
 # python3
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 ntplib
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python3.8/site-packages/ntplib.py", line 32, in <module>
import socket
ModuleNotFoundError: No module named 'socket'

Signed-off-by: Mingli Yu <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
(cherry picked from commit 0568dda628fa086aaedfa164c6b12654e09972a3)
Signed-off-by: Armin Kuster <[email protected]>
---
 meta-python/recipes-devtools/python/python3-ntplib_0.3.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python3-ntplib_0.3.3.bb 
b/meta-python/recipes-devtools/python/python3-ntplib_0.3.3.bb
index 93df83ad3c..ce2618b817 100644
--- a/meta-python/recipes-devtools/python/python3-ntplib_0.3.3.bb
+++ b/meta-python/recipes-devtools/python/python3-ntplib_0.3.3.bb
@@ -11,4 +11,4 @@ S = "${WORKDIR}/${SRCNAME}-${PV}"
 
 inherit setuptools3 python3native pypi
 
-RDEPENDS_${PN} += "${PYTHON_PN}-datetime"
+RDEPENDS_${PN} += "${PYTHON_PN}-datetime ${PYTHON_PN}-io"
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#84424): 
https://lists.openembedded.org/g/openembedded-devel/message/84424
Mute This Topic: https://lists.openembedded.org/mt/74292733/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to