From 831a398bf1861c9fa52ab2b895e8641fd840649e Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Mon, 26 Dec 2022 00:09:27 -0800 Subject: [PATCH] Check Python 3.8+ --- build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.py b/build.py index bc174d711..7c28053b6 100755 --- a/build.py +++ b/build.py @@ -48,8 +48,8 @@ if not no_color and is_windows: no_color = True # Environment checks -if not sys.version_info >= (3, 6): - error('Requires Python 3.6+') +if not sys.version_info >= (3, 8): + error('Requires Python 3.8+') if 'ANDROID_SDK_ROOT' not in os.environ: error('Please add Android SDK path to ANDROID_SDK_ROOT environment variable!')