]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42504: fix for MACOSX_DEPLOYMENT_TARGET=11 (GH-23556)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 3 Dec 2020 03:43:08 +0000 (19:43 -0800)
committerGitHub <noreply@github.com>
Thu, 3 Dec 2020 03:43:08 +0000 (19:43 -0800)
commit09a698b4743c669983d606595a1b2daeff6c3cf8
tree33860516ff0a2d59d49ecdcf43ee7a0c04fab44c
parent9b34f34aa929941576a69a6f7de77f1fb0b96ed6
bpo-42504: fix for MACOSX_DEPLOYMENT_TARGET=11 (GH-23556)

macOS releases numbering has changed as of macOS 11 Big Sur.  Previously, major releases were of the form 10.x, 10.x+1, 10.x+2, etc; as of Big Sur, they are now x, x+1, etc, so, for example, 10.15, 10.15.1, ..., 10.15.7, 11, 11.0.1, 11.1, ..., 12, 12.1, etc. Allow Python to build with single-digit deployment target values. Patch provided by FX Coudert.
(cherry picked from commit 5291639e611dc3f55a34666036f2c3424648ba50)

Co-authored-by: FX Coudert <fxcoudert@gmail.com>
Lib/distutils/spawn.py
Lib/distutils/tests/test_build_ext.py
Lib/test/test_posix.py
Misc/NEWS.d/next/macOS/2020-12-02-15-48-40.bpo-42504.RQmMOR.rst [new file with mode: 0644]
setup.py