Change allow Python 3.12.3

This commit is contained in:
Prinz23 2024-04-09 18:07:57 +02:00 committed by JackDandy
parent 87c4cdf093
commit 0bf45befd0
2 changed files with 7 additions and 2 deletions

View file

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

View file

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