mirror of
https://github.com/SickGear/SickGear.git
synced 2024-11-15 01:15:05 +00:00
Change allow Python 3.12.3
This commit is contained in:
parent
87c4cdf093
commit
0bf45befd0
2 changed files with 7 additions and 2 deletions
|
@ -1,4 +1,9 @@
|
||||||
### 3.30.17 (2024-04-01 17:55:00 UTC)
|
### 3.30.18 (2024-04-24 23:55:00 UTC)
|
||||||
|
|
||||||
|
* Change allow Python 3.12.3
|
||||||
|
|
||||||
|
|
||||||
|
### 3.30.17 (2024-04-01 17:55:00 UTC)
|
||||||
|
|
||||||
* Change restrict lxml to < 5.2.0 on non-windows OS's
|
* Change restrict lxml to < 5.2.0 on non-windows OS's
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,7 @@ warnings.filterwarnings('ignore', message='.*deprecated in cryptography.*')
|
||||||
|
|
||||||
versions = [((3, 8, 2), (3, 8, 19)),
|
versions = [((3, 8, 2), (3, 8, 19)),
|
||||||
((3, 9, 0), (3, 9, 2)), ((3, 9, 4), (3, 9, 19)),
|
((3, 9, 0), (3, 9, 2)), ((3, 9, 4), (3, 9, 19)),
|
||||||
((3, 10, 0), (3, 12, 2))] # inclusive version ranges
|
((3, 10, 0), (3, 12, 3))] # 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))
|
||||||
|
|
Loading…
Reference in a new issue