This import alone (not even using any of its APIs) causes a runtime error saying "ModuleNotFoundError: No module named 'typing_extensions'"
Steps to repro:
mkdir test
code test # run vscode
Run VScode command: "Python: create environment..."
Choose Venv
Choose python 3.11 from homebrew installation
.venv dir is created
Open vscode shell and run:
pip install libsql_client
Create source file test.py with the following contents:
import libsql_client
Run
python test.py
Traceback shows "ModuleNotFoundError: No module named 'typing_extensions'"
Traceback (most recent call last):
File "/Users/doug/tmp/test/test.py", line 1, in <module>
import libsql_client
File "/Users/doug/tmp/test/.venv/lib/python3.11/site-packages/libsql_client/__init__.py", line 1, in <module>
from .client import (
File "/Users/doug/tmp/test/.venv/lib/python3.11/site-packages/libsql_client/client.py", line 6, in <module>
from typing_extensions import Protocol
ModuleNotFoundError: No module named 'typing_extensions'
This is fixable by running:
pip install typing_extensions
Not sure why this module isn't being added during libsql_client installation.
Weird! I added typing-extensions to the dependencies, this should resolve this issue. However, I will wait for a while before releasing a new version, in case we find other issues.
This import alone (not even using any of its APIs) causes a runtime error saying "ModuleNotFoundError: No module named 'typing_extensions'"
Steps to repro:
Run VScode command: "Python: create environment..."
Open vscode shell and run:
Create source file test.py with the following contents:
Run
Traceback shows "ModuleNotFoundError: No module named 'typing_extensions'"
This is fixable by running:
Not sure why this module isn't being added during libsql_client installation.