Change allow Python 3.12.2

This commit is contained in:
Prinz23 2024-02-07 01:42:55 +01:00 committed by JackDandy
parent d346bb4c3b
commit e73ea8bdf3
2 changed files with 14 additions and 2 deletions

View file

@ -1,4 +1,16 @@
### 3.30.7 (2024-01-10 14:20:00 UTC) ### 3.30.9 (2024-02-07 23:10:00 UTC)
* Change allow Python 3.12.2
### 3.30.8 (2024-02-01 23:30:00 UTC)
* Change update fallback zoneinfo to 2024a
* Change reduce mem used by cast/person credits with main show info from TVmaze
* Fix mock data for CI tests
### 3.30.7 (2024-01-10 14:20:00 UTC)
* Fix limit loaded cast (max 30) and crew (max 5) from TVmaze API * Fix limit loaded cast (max 30) and crew (max 5) from TVmaze API

View file

@ -38,7 +38,7 @@ warnings.filterwarnings('ignore', message='.*deprecated in cryptography.*')
versions = [((3, 8, 2), (3, 8, 18)), versions = [((3, 8, 2), (3, 8, 18)),
((3, 9, 0), (3, 9, 2)), ((3, 9, 4), (3, 9, 18)), ((3, 9, 0), (3, 9, 2)), ((3, 9, 4), (3, 9, 18)),
((3, 10, 0), (3, 12, 1))] # inclusive version ranges ((3, 10, 0), (3, 12, 2))] # 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))