From f6619a7d59976c0d0815105920c272472048d4c8 Mon Sep 17 00:00:00 2001 From: Prinz23 Date: Fri, 25 Aug 2023 21:23:50 +0200 Subject: [PATCH] Change allow Python 3.11.5, 3.10.13, 3.9.18, and 3.8.18 --- CHANGES.md | 7 ++++++- sickgear.py | 6 +++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index dd8d3938..c0294214 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,4 +1,9 @@ -### 3.29.4 (2023-06-07 13:45:00 UTC) +### 3.29.5 (2023-09-05 23:40:00 UTC) + +* Change allow Python 3.11.5, 3.10.13, 3.9.18, and 3.8.18 + + +### 3.29.4 (2023-06-07 13:45:00 UTC) * Change allow Python 3.8.17, 3.9.17, 3.10.12 * Fix setting airtime timezone for "Wanted" episodes during auto search diff --git a/sickgear.py b/sickgear.py index 4df154ba..83e50728 100755 --- a/sickgear.py +++ b/sickgear.py @@ -36,9 +36,9 @@ 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, 8, 2), (3, 8, 17)), - ((3, 9, 0), (3, 9, 2)), ((3, 9, 4), (3, 9, 17)), - ((3, 10, 0), (3, 11, 4))] # inclusive version ranges +versions = [((3, 8, 2), (3, 8, 18)), + ((3, 9, 0), (3, 9, 2)), ((3, 9, 4), (3, 9, 18)), + ((3, 10, 0), (3, 11, 5))] # 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)): major, minor, micro = sys.version_info[:3] print('Python %s.%s.%s detected.' % (major, minor, micro))