Kaydet (Commit) 645fa19f authored tarafından Miss Islington (bot)'s avatar Miss Islington (bot) Kaydeden (comit) Victor Stinner

bpo-32302: Fix distutils bdist_wininst for CRT v142 (GH-4851) (#4861)

CRT v142 is binary compatible with CRT v140.
(cherry picked from commit 9e7c136a)
üst 1d2a387b
...@@ -338,8 +338,8 @@ class bdist_wininst(Command): ...@@ -338,8 +338,8 @@ class bdist_wininst(Command):
bv = '14.0' bv = '14.0'
else: else:
bv = '.'.join(CRT_ASSEMBLY_VERSION.split('.', 2)[:2]) bv = '.'.join(CRT_ASSEMBLY_VERSION.split('.', 2)[:2])
if bv == '14.11': if bv in ('14.11', '14.12'):
# v141 and v140 are binary compatible, # v142, v141 and v140 are binary compatible,
# so keep using the 14.0 stub. # so keep using the 14.0 stub.
bv = '14.0' bv = '14.0'
......
Fix bdist_wininst of distutils for CRT v142: it binary compatible with CRT
v140.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment