python3-can: Add typing-extensions dependency
PATCH 1/1 python3-can: Add typing-extensions dependency
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.Quoted 1 line
Quoted 1 line
Quoted 1 line
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'
--- meta-python/recipes-devtools/python/python3-can_4.0.0.bb | 1 + 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-can_4.0.0.bb +1 -0
@@ -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"
Signature · 1 line
2.25.1