From 5adde5b725ce1426b81953637b19180a81114782 Mon Sep 17 00:00:00 2001 From: Daniel Wong Date: Fri, 14 Jul 2023 20:23:24 +1000 Subject: [PATCH] Fix python 3.11 warning showing on Python 3.10.X --- build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.py b/build.py index 0fd7287..7be89e0 100644 --- a/build.py +++ b/build.py @@ -252,7 +252,7 @@ if sys.version_info < (2, 7): print(">>>> ERROR: This script does not work on Python 2.7") exit(-1) -if sys.version_info > (3, 10): +if not (sys.version_info < (3, 11)): print(">>>> WARNING: This script probably does not work on Python 3.11 because unitypack uses old version of decrunch which does not build. Use Python 3.10 or below if you have this error.") lastModifiedManager = LastModifiedManager()