From 8f1d6883e72ba0498c6b1afe25da2d61244268d5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Louis=20V=C3=A9zina?=
<5130500+morpheus65535@users.noreply.github.com>
Date: Sat, 11 Apr 2020 08:05:12 -0400
Subject: [PATCH] Increased minimal version of Python 3.x to 3.7 instead of
3.6. We have too much trouble with 3.6 and some of our dependencies don't
support it anymore.
---
bazarr.py | 2 +-
views/menu.tpl | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bazarr.py b/bazarr.py
index 8f1b7da03..581689f76 100644
--- a/bazarr.py
+++ b/bazarr.py
@@ -14,7 +14,7 @@ from libs.six import PY3
def check_python_version():
python_version = platform.python_version_tuple()
minimum_py2_tuple = (2, 7, 13)
- minimum_py3_tuple = (3, 6, 0)
+ minimum_py3_tuple = (3, 7, 0)
minimum_py2_str = ".".join(str(i) for i in minimum_py2_tuple)
minimum_py3_str = ".".join(str(i) for i in minimum_py3_tuple)
diff --git a/views/menu.tpl b/views/menu.tpl
index fbfc6f269..db33bde24 100644
--- a/views/menu.tpl
+++ b/views/menu.tpl
@@ -237,7 +237,7 @@
-
Bazarr won't update anymore until you upgrade Python!
Bazarr is now compatible with Python 3.6 and newer. You must upgrade Python as we don't support Python 2.x anymore.
+
Bazarr won't update anymore until you upgrade Python!
Bazarr is now compatible with Python 3.7 and newer. You must upgrade Python as we don't support Python 2.x anymore.
% if os.name == 'posix':
If you are running under Docker, don't worry, we'll take care of this for you. Just pull the new image.