From: Bruce Forstall Date: Fri, 6 Dec 2019 05:56:22 +0000 (-0800) Subject: Force Python 3.7 for superpmi.py (#603) X-Git-Tag: submit/tizen/20210909.063632~10776 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e385fff7a41600664b38658661e38841cb168dc0;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Force Python 3.7 for superpmi.py (#603) Async doesn't work well on Windows before this. --- diff --git a/src/coreclr/scripts/superpmi.py b/src/coreclr/scripts/superpmi.py index e05cb14..23a1c6e 100755 --- a/src/coreclr/scripts/superpmi.py +++ b/src/coreclr/scripts/superpmi.py @@ -2142,10 +2142,10 @@ def main(args): """ Main method """ - # await/async requires python >= 3.5 - if sys.version_info.major < 3 and sys.version_info.minor < 5: + # await/async requires python >= 3.7 + if sys.version_info.major < 3 and sys.version_info.minor < 7: print("Error, language features require the latest python version.") - print("Please install python 3.8 or greater") + print("Please install python 3.7 or greater") return 1