Error when running with Python 3.10
Running make_questions.py
with Python 3.10 produces the following error:
Traceback (most recent call last):
File "/Users/hesk/my/work/moodle-tools/moodle-tools/src/moodle_tools/make_questions.py", line 11, in <module>
from moodle_tools.questions.factory import QuestionFactory
File "/Users/hesk/my/work/moodle-tools/moodle-tools/src/moodle_tools/questions/__init__.py", line 24, in <module>
from .coderunner import CoderunnerQuestionAnalysis
File "/Users/hesk/my/work/moodle-tools/moodle-tools/src/moodle_tools/questions/coderunner.py", line 5, in <module>
from typing import Required, TypedDict
ImportError: cannot import name 'Required' from 'typing' (/Users/hesk/.pyenv/versions/3.10.3/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/typing.py)