Change allow Python 3.12.0 and 3.11.6

This commit is contained in:
JackDandy 2023-10-02 22:51:07 +01:00
parent 07bb660e77
commit cc72fc5bfc
2 changed files with 7 additions and 2 deletions

View file

@ -1,4 +1,9 @@
### 3.30.0 (2023-09-23 17:20:00 UTC) ### 3.30.1 (2023-10-02 22:50:00 UTC)
* Change allow Python 3.12.0 and 3.11.6
### 3.30.0 (2023-09-23 17:20:00 UTC)
* Update Beautiful Soup 4.11.1 (r642) to 4.12.2 * Update Beautiful Soup 4.11.1 (r642) to 4.12.2
* Update certifi 2023.05.07 to 2023.07.22 * Update certifi 2023.05.07 to 2023.07.22

View file

@ -38,7 +38,7 @@ warnings.filterwarnings('ignore', message='.*deprecated in cryptography.*')
versions = [((3, 8, 2), (3, 8, 18)), versions = [((3, 8, 2), (3, 8, 18)),
((3, 9, 0), (3, 9, 2)), ((3, 9, 4), (3, 9, 18)), ((3, 9, 0), (3, 9, 2)), ((3, 9, 4), (3, 9, 18)),
((3, 10, 0), (3, 11, 5))] # inclusive version ranges ((3, 10, 0), (3, 12, 0))] # 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))