Browse Source

Merge branch 'hotfix/0.24.17'

tags/release_0.24.17^0 release_0.24.17
JackDandy 4 years ago
parent
commit
c700d690c9
  1. 7
      CHANGES.md
  2. 5
      sickgear.py

7
CHANGES.md

@ -1,4 +1,9 @@
### 0.24.16 (2021-08-28 16:05:00 UTC)
### 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
* Change newznab provider add handler for http response code 401

5
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(

Loading…
Cancel
Save