mirror of
https://github.com/RGBCube/CSAssignments
synced 2025-07-25 21:17:44 +00:00
Make 3.10 also work
This commit is contained in:
parent
96e942380a
commit
6fbd7364f2
5 changed files with 5 additions and 5 deletions
|
@ -18,7 +18,7 @@ code.
|
||||||
|
|
||||||
### Prerequisites
|
### 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/).
|
You can download it from [here](https://www.python.org/downloads/).
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ from __future__ import annotations
|
||||||
__all__ = ("Assignment",)
|
__all__ = ("Assignment",)
|
||||||
|
|
||||||
from functools import cached_property
|
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 typing import TYPE_CHECKING, TypedDict
|
||||||
|
|
||||||
from .helpers import command
|
from .helpers import command
|
||||||
|
|
|
@ -3,7 +3,7 @@ from __future__ import annotations
|
||||||
__all__ = ("Language",)
|
__all__ = ("Language",)
|
||||||
|
|
||||||
from functools import cached_property
|
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 typing import TYPE_CHECKING, TypedDict
|
||||||
|
|
||||||
from .assignment import Assignment
|
from .assignment import Assignment
|
||||||
|
|
2
run.bat
2
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
|
py -m interactive_runner
|
||||||
|
|
2
run.sh
2
run.sh
|
@ -1,3 +1,3 @@
|
||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
python3 -m pip install -U chalky > /dev/null
|
python3 -m pip install -U chalky toml > /dev/null
|
||||||
python3 -m interactive_runner
|
python3 -m interactive_runner
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue