itu-algorithms/itu.algs4

Include typing-extensions as a requeriment.

Opened this issue · 4 comments

Include typing-extensions as a requeriment, using conda I had problems to import a BST class with error:
ModuleNotFoundError: No module named 'typing_extensions'

Do you mean beyond writing it in docs/requirements.txt?

Yes, or it could still be in the setup.py file.
Including in the variable setup:
install_requires=[
"typing_extensions==3.10.0.0"
]

We should do this. One constraint is that the current Python version on Open Kattis is a lower bound on which typing bells and whistles our library uses. I’d like Open Kattis to at least migrate to Python 3.7 before we look over the typing hints again.