We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 647e5a1 commit c0e6f90Copy full SHA for c0e6f90
engine/src/flutter/tools/yapf.sh
@@ -43,12 +43,14 @@ if command -v python3.10 &> /dev/null; then
43
PYTHON_EXEC="python3.10"
44
elif command -v python3.11 &> /dev/null; then
45
PYTHON_EXEC="python3.11"
46
+elif command -v python3.12 &> /dev/null; then
47
+ PYTHON_EXEC="python3.12"
48
else
49
python3 -c "
50
import sys
51
version = sys.version_info
-if (version.major, version.minor) > (3, 11):
- print(f'Error: The yapf Python formatter requires Python version 3.11 or '
52
+if (version.major, version.minor) > (3, 12):
53
+ print(f'Error: The yapf Python formatter requires Python version 3.12 or '
54
f'earlier. The installed python3 version is '
55
f'{version.major}.{version.minor}.',
56
file=sys.stderr)
0 commit comments