diff --git a/README.md b/README.md index 77aacb4..744e0fb 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ code. ### Prerequisites -You need at least CPython 3.11 to run the interactive code runner script. +You need *at least* CPython 3.10 to run the interactive code runner script. You can download it from [here](https://www.python.org/downloads/). diff --git a/interactive_runner/assignment.py b/interactive_runner/assignment.py index edd883a..962e274 100644 --- a/interactive_runner/assignment.py +++ b/interactive_runner/assignment.py @@ -3,7 +3,7 @@ from __future__ import annotations __all__ = ("Assignment",) from functools import cached_property -from tomllib import loads as decode_toml +from toml import loads as decode_toml from typing import TYPE_CHECKING, TypedDict from .helpers import command diff --git a/interactive_runner/language.py b/interactive_runner/language.py index be96796..3c3644d 100644 --- a/interactive_runner/language.py +++ b/interactive_runner/language.py @@ -3,7 +3,7 @@ from __future__ import annotations __all__ = ("Language",) from functools import cached_property -from tomllib import loads as decode_toml +from toml import loads as decode_toml from typing import TYPE_CHECKING, TypedDict from .assignment import Assignment diff --git a/run.bat b/run.bat index a1a28eb..ae2a18f 100644 --- a/run.bat +++ b/run.bat @@ -1,2 +1,2 @@ -py -m pip install -U chalky > NUL +py -m pip install -U chalky toml > NUL py -m interactive_runner diff --git a/run.sh b/run.sh index c8400ae..f622923 100644 --- a/run.sh +++ b/run.sh @@ -1,3 +1,3 @@ #!/usr/bin/bash -python3 -m pip install -U chalky > /dev/null +python3 -m pip install -U chalky toml > /dev/null python3 -m interactive_runner