From: Ben Powell <[email protected]>
The python-can 4.0.0 release introduced a dependency on the
typing_extensions module:
$ python3
Python 3.8.10 (default, Mar 15 2022, 12:22:08)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import can
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "python-can/can/__init__.py", line 17, in <module>
from .listener import Listener, BufferedReader, RedirectReader,
AsyncBufferedReader
File "python-can/can/listener.py", line 12, in <module>
from can.message import Message
File "python-can/can/message.py", line 11, in <module>
from . import typechecking
File "python-can/can/typechecking.py", line 9, in <module>
import typing_extensions
ModuleNotFoundError: No module named 'typing_extensions'
Signed-off-by: Ben Powell <[email protected]>
Signed-off-by: Theodore A. Roth <[email protected]>
Signed-off-by: Theodore A. Roth <[email protected]>
---
meta-python/recipes-devtools/python/python3-can_4.0.0.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta-python/recipes-devtools/python/python3-can_4.0.0.bb
b/meta-python/recipes-devtools/python/python3-can_4.0.0.bb
index 2cd2e624b..b1ba6849b 100644
--- a/meta-python/recipes-devtools/python/python3-can_4.0.0.bb
+++ b/meta-python/recipes-devtools/python/python3-can_4.0.0.bb
@@ -21,6 +21,7 @@ RDEPENDS:${PN}:class-target += "\
${PYTHON_PN}-sqlite3 \
${PYTHON_PN}-wrapt \
${PYTHON_PN}-pkg-resources \
+ ${PYTHON_PN}-typing-extensions \
"
BBCLASSEXTEND = "native nativesdk"
--
2.25.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#97518):
https://lists.openembedded.org/g/openembedded-devel/message/97518
Mute This Topic: https://lists.openembedded.org/mt/91757365/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-