Extensions: only apply SSL workaround for Python older than 3.12.6

Skip the workaround for versions of Python that contain the fix.
This commit is contained in:
Campbell Barton
2024-10-01 13:06:05 +10:00
parent 9f072ecefb
commit 22cdf8da1e

View File

@@ -5039,7 +5039,7 @@ def main(
sys.stdout.write("{:s}\n".format(VERSION))
return 0
if sys.platform == "win32":
if (sys.platform == "win32") and (sys.version_info < (3, 12, 6)):
_worlaround_win32_ssl_cert_failure()
parser = argparse_create(