From 4a430afbe1eff4a89f6f687f0a0665a61f5d64b1 Mon Sep 17 00:00:00 2001 From: Prinz23 Date: Sat, 8 Jun 2024 20:46:36 +0200 Subject: [PATCH] Change allow Python 3.12.4 --- CHANGES.md | 7 ++++++- sickgear.py | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 0c8844e3..9802e182 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,4 +1,9 @@ -### 3.31.0 (2024-06-05 08:00:00 UTC) +### 3.31.1 (2024-06-14 01:00:00 UTC) + +* Change allow Python 3.12.4 + + +### 3.31.0 (2024-06-05 08:00:00 UTC) * Update Apprise 1.3.0 (6458ab0) to 1.6.0 (0c0d5da) * Update attr 22.2.0 (683d056) to 23.1.0 (67e4ff2) diff --git a/sickgear.py b/sickgear.py index 63ed9918..cfadddf3 100755 --- a/sickgear.py +++ b/sickgear.py @@ -38,7 +38,7 @@ warnings.filterwarnings('ignore', message='.*deprecated in cryptography.*') versions = [((3, 8, 2), (3, 8, 19)), ((3, 9, 0), (3, 9, 2)), ((3, 9, 4), (3, 9, 19)), - ((3, 10, 0), (3, 12, 3))] # inclusive version ranges + ((3, 10, 0), (3, 12, 4))] # 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))