No required version of typing_extensions is causing ImportError: cannot import name 'TypeAliasType' from 'typing_extensions'
#14380
Milestone
There are no version requirements on
typing_extensions
ipython/pyproject.toml
Line 35 in b9c597d
but actually you are importing
here
ipython/IPython/core/guarded_eval.py
Line 40 in b9c597d
and
TypeAliasType
has been added only in 4.6 python/typing_extensions@09c1ed4.This means that if a system has already
typing_extensions
at version 4.4.0 (for example, on Ubuntu Jammy the deb packagepython3-typing-extensions
is at version 4.4.0)pip
will assume that 4.4.0 is ok, but you would end up withTested on
The text was updated successfully, but these errors were encountered: