diff --git a/CHANGES.md b/CHANGES.md index 0a3a841..2569c1c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -114,6 +114,11 @@ * Change reinstate "expand results" and display more prominently +### 0.24.17 (2021-08-31 01:00:00 UTC) + +* Change allow Python 3.8.12, 3.9.7, and 3.10.0 + + ### 0.24.16 (2021-08-28 16:05:00 UTC) * Update Windows recommended modules lxml, pip, regex, setuptools, and add cffi, python-Levenshtein diff --git a/sickgear.py b/sickgear.py index 061a120..908eb31 100755 --- a/sickgear.py +++ b/sickgear.py @@ -39,8 +39,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 = [((2, 7, 9), (2, 7, 18)), ((3, 7, 1), (3, 8, 11)), - ((3, 9, 0), (3, 9, 2)), ((3, 9, 4), (3, 9, 6))] # inclusive version ranges +versions = [((2, 7, 9), (2, 7, 18)), ((3, 7, 1), (3, 8, 12)), + ((3, 9, 0), (3, 9, 2)), ((3, 9, 4), (3, 9, 7)), + ((3, 10, 0), (3, 10, 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(