From 1f7e467e07cb262453d407a84941d6002c1e77cf Mon Sep 17 00:00:00 2001 From: Prinz23 Date: Tue, 18 Apr 2023 13:33:57 +0200 Subject: [PATCH] Change minimum required Python to version 3.8 --- CHANGES.md | 1 + sickgear.py | 2 +- sickgear/py_requirement.data | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 9fbc8cc8..42b50d8c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,6 @@ ### 3.29.0 (2023-xx-xx xx:xx:00 UTC) +* Change minimum required Python to version 3.8 * Update Apprise 1.2.1 (3d07004) to 1.3.0 (6458ab0) * Update attr 22.2.0 (a9960de) to 22.2.0 (683d056) * Update diskcache 5.4.0 (1cb1425) to 5.6.1 (4d30686) diff --git a/sickgear.py b/sickgear.py index b664f58f..0b5925dc 100755 --- a/sickgear.py +++ b/sickgear.py @@ -39,7 +39,7 @@ warnings.filterwarnings('ignore', module=r'.*ssl_.*', message='.*SSLContext obje warnings.filterwarnings('ignore', module=r'.*zoneinfo.*', message='.*file or directory.*') warnings.filterwarnings('ignore', message='.*deprecated in cryptography.*') -versions = [((3, 7, 1), (3, 8, 16)), +versions = [((3, 8, 0), (3, 8, 16)), ((3, 9, 0), (3, 9, 2)), ((3, 9, 4), (3, 9, 16)), ((3, 10, 0), (3, 11, 3))] # inclusive version ranges if not any(list(map(lambda v: v[0] <= sys.version_info[:3] <= v[1], versions))) and not int(os.environ.get('PYT', 0)): diff --git a/sickgear/py_requirement.data b/sickgear/py_requirement.data index 548d7136..98fccd6d 100644 --- a/sickgear/py_requirement.data +++ b/sickgear/py_requirement.data @@ -1 +1 @@ -3.7 \ No newline at end of file +3.8 \ No newline at end of file