]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.9] bpo-43568: Relax distutils MACOSX_DEPLOYMENT_TARGET check (GH-25827) (GH-26001)
authorJoshua Root <jmr@macports.org>
Thu, 3 Jun 2021 00:25:15 +0000 (10:25 +1000)
committerGitHub <noreply@github.com>
Thu, 3 Jun 2021 00:25:15 +0000 (20:25 -0400)
commit991693a217363243b0bd33887852d6b3959b99a1
tree41fb8052a2295f1e3136e2c10c2c85c06f9d0bf2
parent85b587a38dcf5d0ef1e275510001e22425d65977
[3.9] bpo-43568: Relax distutils MACOSX_DEPLOYMENT_TARGET check (GH-25827) (GH-26001)

Only complain if the config target is >= 10.3 and the current target is
< 10.3. The check was originally added to ensure that incompatible
LDSHARED flags are not used, because '-undefined dynamic_lookup' is
used when building for 10.3 and later, and is not supported on older OS
versions. Apart from that, there should be no problem in general
with using an older target. In particular, this allows targeting macOS
11.0 when Python was built for a newer minor version like 11.3.

(manually cherry picked from part of commit 8703178)
Lib/distutils/spawn.py
Misc/NEWS.d/next/macOS/2021-06-02-19-21-13.bpo-43568.viomLm.rst [new file with mode: 0644]