Change allow Python 3.12.4

This commit is contained in:
Prinz23 2024-06-08 20:46:36 +02:00 committed by JackDandy
parent ef11f578a0
commit 4a430afbe1
2 changed files with 7 additions and 2 deletions

View file

@ -1,4 +1,9 @@
### 3.31.0 (2024-06-05 08:00:00 UTC)
### 3.31.1 (2024-06-14 01:00:00 UTC)
* Change allow Python 3.12.4
### 3.31.0 (2024-06-05 08:00:00 UTC)
* Update Apprise 1.3.0 (6458ab0) to 1.6.0 (0c0d5da)
* Update attr 22.2.0 (683d056) to 23.1.0 (67e4ff2)

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, 3))] # inclusive version ranges
((3, 10, 0), (3, 12, 4))] # 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))