summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-05-03 03:38:49 (GMT)
committerGitHub <noreply@github.com>2021-05-03 03:38:49 (GMT)
commit98035ec93ff0d9875f19027015689734d70c14e5 (patch)
treef5448d136ccaf4334544a0a6df43dc2761be3fc4 /Misc
parentad73d1657ca3591b1dd1d15bb80ce83ca7fc3223 (diff)
downloadcpython-98035ec93ff0d9875f19027015689734d70c14e5.zip
cpython-98035ec93ff0d9875f19027015689734d70c14e5.tar.gz
cpython-98035ec93ff0d9875f19027015689734d70c14e5.tar.bz2
bpo-41129: Fix check for macOS SDK paths when building Python (GH-25785) (GH-25830)
Narrow search to match contents of SDKs, namely only files in ``/System/Library``, ``/System/IOSSupport``, and ``/usr`` other than ``/usr/local``. Previously, anything under ``/System`` was assumed to be in an SDK which causes problems with the new file system layout in 10.15+ where user file systems may appear to be mounted under ``/System``. Paths in ``/Library`` were also incorrectly treated as SDK locations. Co-authored-by: Ned Deily <nad@python.org> (cherry picked from commit d52bbde9421987d216c600557ef5bc931d03efcc) Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/macOS/2021-05-02-21-03-27.bpo-42119.Y7BSX_.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/macOS/2021-05-02-21-03-27.bpo-42119.Y7BSX_.rst b/Misc/NEWS.d/next/macOS/2021-05-02-21-03-27.bpo-42119.Y7BSX_.rst
new file mode 100644
index 0000000..7dd67a5
--- /dev/null
+++ b/Misc/NEWS.d/next/macOS/2021-05-02-21-03-27.bpo-42119.Y7BSX_.rst
@@ -0,0 +1,7 @@
+Fix check for macOS SDK paths when building Python. Narrow search to match
+contents of SDKs, namely only files in ``/System/Library``,
+``/System/IOSSupport``, and ``/usr`` other than ``/usr/local``. Previously,
+anything under ``/System`` was assumed to be in an SDK which causes problems
+with the new file system layout in 10.15+ where user file systems may appear
+to be mounted under ``/System``. Paths in ``/Library`` were also
+incorrectly treated as SDK locations.