Merge branch 'hotfix/3.30.18'

This commit is contained in:
JackDandy 2024-04-24 23:55:34 +01:00
commit f0448a9752
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

View file

@ -38,7 +38,7 @@ warnings.filterwarnings('ignore', message='.*deprecated in cryptography.*')
versions = [((3, 8, 2), (3, 8, 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)):
major, minor, micro = sys.version_info[:3]
print('Python %s.%s.%s detected.' % (major, minor, micro))