From ff5f366d6dcedef6c2fa3d589d5fad612d69d10c Mon Sep 17 00:00:00 2001 From: JackDandy Date: Sat, 21 Nov 2020 18:42:11 +0000 Subject: [PATCH] Change allow Python 3.8.7 Change suppress py27 startup cryptography deprecation warning. Fix filter out history items that don't qualify for status snatched/good. --- CHANGES.md | 9 ++++++++- gui/slick/interfaces/default/inc_top.tmpl | 12 +++++++++--- sickgear.py | 3 ++- 3 files changed, 19 insertions(+), 5 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 01ecc4e..2bc4b48 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,4 +1,11 @@ -### 0.23.1 (2020-11-16 23:00:00 UTC) +### 0.23.2 (2020-11-21 18:40:00 UTC) + +* Change allow Python 3.8.7 +* Change suppress py27 startup cryptography deprecation warning +* Fix filter out history items that don't qualify for status snatched/good + + +### 0.23.1 (2020-11-16 23:00:00 UTC) * Fix image failure for a show that is force updated, removed, then readded diff --git a/gui/slick/interfaces/default/inc_top.tmpl b/gui/slick/interfaces/default/inc_top.tmpl index 443d30d..7404baa 100644 --- a/gui/slick/interfaces/default/inc_top.tmpl +++ b/gui/slick/interfaces/default/inc_top.tmpl @@ -202,22 +202,28 @@ #end if diff --git a/sickgear.py b/sickgear.py index 205327b..d466257 100755 --- a/sickgear.py +++ b/sickgear.py @@ -38,8 +38,9 @@ warnings.filterwarnings('ignore', module=r'.*connectionpool.*', message='.*certi warnings.filterwarnings('ignore', module=r'.*fuzzywuzzy.*') warnings.filterwarnings('ignore', module=r'.*ssl_.*', message='.*SSLContext object.*') warnings.filterwarnings('ignore', module=r'.*zoneinfo.*', message='.*file or directory.*') +warnings.filterwarnings('ignore', message='.*deprecated in cryptography.*') -versions = [((2, 7, 9), (2, 7, 18)), ((3, 7, 1), (3, 8, 6)), ((3, 9, 0), (3, 9, 0))] # inclusive version ranges +versions = [((2, 7, 9), (2, 7, 18)), ((3, 7, 1), (3, 8, 7)), ((3, 9, 0), (3, 9, 0))] # 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)): print('Python %s.%s.%s detected.' % sys.version_info[:3]) print('Sorry, SickGear requires a Python version %s' % ', '.join(map(