Change add support for Python 3.13.7

This commit is contained in:
JackDandy 2025-08-14 23:07:28 +01:00
parent a442b58ea8
commit 0068ac3046
3 changed files with 8 additions and 3 deletions

View file

@ -1,4 +1,9 @@
### 3.34.0 (2025-08-14 00:10:00 UTC)
### 3.34.1 (2025-08-14 23:05:00 UTC)
* Change add support for Python 3.13.7
### 3.34.0 (2025-08-14 00:10:00 UTC)
* Update apprise 1.8.0 (81caf92) to 1.9.2 (a2a2216)
* Update attr 23.2.0 (b393d79) to 25.3.0 (ca3fb0e)

View file

@ -28,7 +28,7 @@ warnings.filterwarnings('ignore', module=r'.*ssl_.*', message='.*SSLContext obje
# noinspection DuplicatedCode
versions = [((3, 9, 0), (3, 9, 2)), ((3, 9, 4), (3, 9, 23)),
((3, 10, 0), (3, 13, 6))] # inclusive version ranges
((3, 10, 0), (3, 13, 7))] # 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(f'Python {major}.{minor}.{micro} detected.')

View file

@ -38,7 +38,7 @@ warnings.filterwarnings('ignore', message='.*deprecated in cryptography.*')
# noinspection DuplicatedCode
versions = [((3, 9, 0), (3, 9, 2)), ((3, 9, 4), (3, 9, 23)),
((3, 10, 0), (3, 13, 6))] # inclusive version ranges
((3, 10, 0), (3, 13, 7))] # 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(f'Python {major}.{minor}.{micro} detected.')