From 43a5841d04f07455f1f72d22817aa9a342772b91 Mon Sep 17 00:00:00 2001 From: morpheus65535 Date: Sat, 14 Dec 2024 00:09:51 -0500 Subject: [PATCH] Added official support for Python 3.12 --- bazarr.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bazarr.py b/bazarr.py index 7e75272b0..2a1adea1d 100644 --- a/bazarr.py +++ b/bazarr.py @@ -25,8 +25,8 @@ def check_python_version(): print("Python " + minimum_py3_str + " or greater required. " "Current version is " + platform.python_version() + ". Please upgrade Python.") exit_program(EXIT_PYTHON_UPGRADE_NEEDED) - elif int(python_version[0]) == 3 and int(python_version[1]) > 11: - print("Python version greater than 3.11.x is unsupported. Current version is " + platform.python_version() + + elif int(python_version[0]) == 3 and int(python_version[1]) > 12: + print("Python version greater than 3.12.x is unsupported. Current version is " + platform.python_version() + ". Keep in mind that even if it works, you're on your own.") elif (int(python_version[0]) == minimum_py3_tuple[0] and int(python_version[1]) < minimum_py3_tuple[1]) or \ (int(python_version[0]) != minimum_py3_tuple[0]):