Merge branch 'main' into dev

This commit is contained in:
JackDandy 2023-09-05 23:44:52 +01:00
commit b513602103
2 changed files with 8 additions and 3 deletions

View file

@ -8,6 +8,11 @@
* Fix banner url validation for TheTVDb api v3 lib * Fix banner url validation for TheTVDb api v3 lib
### 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) ### 3.29.4 (2023-06-07 13:45:00 UTC)
* Change allow Python 3.8.17, 3.9.17, 3.10.12 * Change allow Python 3.8.17, 3.9.17, 3.10.12

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', module=r'.*zoneinfo.*', message='.*file or directory.*')
warnings.filterwarnings('ignore', message='.*deprecated in cryptography.*') warnings.filterwarnings('ignore', message='.*deprecated in cryptography.*')
versions = [((3, 8, 2), (3, 8, 17)), versions = [((3, 8, 2), (3, 8, 18)),
((3, 9, 0), (3, 9, 2)), ((3, 9, 4), (3, 9, 17)), ((3, 9, 0), (3, 9, 2)), ((3, 9, 4), (3, 9, 18)),
((3, 10, 0), (3, 11, 4))] # inclusive version ranges ((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)): 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] major, minor, micro = sys.version_info[:3]
print('Python %s.%s.%s detected.' % (major, minor, micro)) print('Python %s.%s.%s detected.' % (major, minor, micro))