Skip to content

Commit 8513506

Browse files
committed
Use Python 3.8 in runtests.py
We only support running mypy using 3.8+ up, since mypy 1.5 dropped support for running with Python 3.7. Closes: python#10599
1 parent 6a8d653 commit 8513506

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/runtests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def colored(text: str, color: str | None = None, **kwargs: Any) -> str: # type:
2828
_FAILED = colored("Failed", "red")
2929
# We're using the oldest supported version because it's the most likely to produce errors
3030
# due to unsupported syntax, feature, or bug in a tool.
31-
_PYTHON_VERSION = "3.7"
31+
_PYTHON_VERSION = "3.8"
3232

3333

3434
def _parse_jsonc(json_text: str) -> str:

0 commit comments

Comments
 (0)