Force Python 3.7 for superpmi.py (#603)
authorBruce Forstall <brucefo@microsoft.com>
Fri, 6 Dec 2019 05:56:22 +0000 (21:56 -0800)
committerGitHub <noreply@github.com>
Fri, 6 Dec 2019 05:56:22 +0000 (21:56 -0800)
Async doesn't work well on Windows before this.

src/coreclr/scripts/superpmi.py

index e05cb14..23a1c6e 100755 (executable)
@@ -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