mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-11-16 10:05:18 +00:00
3ce022bee4
People running typing-extensions==3.10 faced this error for just any tutor command: $ tutor version ... Traceback (most recent call last): File "/usr/local/bin/tutor", line 5, in <module> from tutor.commands.cli import main File "/usr/local/lib/python3.8/dist-packages/tutor/commands/cli.py", line 7, in <module> from tutor import exceptions, fmt, hooks, utils File "/usr/local/lib/python3.8/dist-packages/tutor/hooks/__init__.py", line 7, in <module> from . import actions, contexts, filters, priorities File "/usr/local/lib/python3.8/dist-packages/tutor/hooks/actions.py", line 18, in <module> class ActionCallback(Contextualized, t.Generic[P]): File "/usr/lib/python3.8/typing.py", line 261, in inner return func(*args, **kwds) File "/usr/lib/python3.8/typing.py", line 890, in __class_getitem__ raise TypeError( TypeError: Parameters to Generic[...] must all be type variables We fix this error by requiring a more recent version of typing-extensions. See: https://discuss.openedx.org/t/tutor-v15-python-error-when-running-on-quickstart/8910/2 |
||
---|---|---|
.. | ||
base.in | ||
base.txt | ||
dev.in | ||
dev.txt | ||
docs.in | ||
docs.txt | ||
plugins.txt |