Open jmizgajski opened 11 months ago
Hi @jmizgajski and thanks for the report!
I managed to reproduce the issue using typing-extensions==3.10.0.0
.
However, this issue seems fixed for typing-extensions==3.10.0.1
and after, thanks to this line:
https://github.com/python/typing_extensions/commit/5b9fd03f46569bbd1429e20086656ee89001e63a#diff-ef000e6d11123c56dea195e0961413aa6947f5f6e21c85b08f3d47e1f8e97452R2333
Could you check the following:
typing-extensions
versionParamSpec
definition in the typing_extensions.py
source file isinstance(P, TypeVar)
in a python console
Python: 3.9.16
This is the lowest level failure of importing a class from llama_index that depends on import from aiostream somwhere down the call stack. The offending line is
class OperatorType(Protocol[P, T]):
where P and T are ParamSpecsI tried installing the different versions of
typing-extentions
but that does not change anything.Expected behavior: imports without TypeError