mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-18 08:43:37 +00:00
Change allow Python 3.11.5, 3.10.13, 3.9.18, and 3.8.18
This commit is contained in:
parent
1c614924a2
commit
f6619a7d59
2 changed files with 9 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue