Change allow Python 3.11.5, 3.10.13, 3.9.18, and 3.8.18

This commit is contained in:
Prinz23 2023-08-25 21:23:50 +02:00 committed by JackDandy
parent 1c614924a2
commit f6619a7d59
2 changed files with 9 additions and 4 deletions

View file

@ -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

View file

@ -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))