1
Fork 0
mirror of https://github.com/RGBCube/CSAssignments synced 2025-05-31 11:28:12 +00:00

Make 3.10 also work

This commit is contained in:
RGBCube 2022-11-09 19:15:34 +03:00
parent 96e942380a
commit 6fbd7364f2
5 changed files with 5 additions and 5 deletions

View file

@ -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/).

View file

@ -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

View file

@ -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

View file

@ -1,2 +1,2 @@
py -m pip install -U chalky > NUL
py -m pip install -U chalky toml > NUL
py -m interactive_runner

2
run.sh
View file

@ -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