Increment Python version check to support Python 3.12

This commit is contained in:
Andrew Murray 2023-07-13 17:21:06 +10:00
parent 7a1e28404d
commit 414694e190

View File

@ -39,7 +39,7 @@ TIFF_ROOT = None
ZLIB_ROOT = None ZLIB_ROOT = None
FUZZING_BUILD = "LIB_FUZZING_ENGINE" in os.environ FUZZING_BUILD = "LIB_FUZZING_ENGINE" in os.environ
if sys.platform == "win32" and sys.version_info >= (3, 12): if sys.platform == "win32" and sys.version_info >= (3, 13):
import atexit import atexit
atexit.register( atexit.register(