You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PEP 739 build-details.json points libpython.dynamic at a nonexistent path in framework builds #159998
In a macOS framework build, libpython.dynamic in the installed build-details.json points to a non-existing file. Tools/build/generate-build-details.py joins LIBDIR and LDLIBRARY. In framework builds, though, LDLIBRARY is the library's path relative to PYTHONFRAMEWORKPREFIX (Python.framework/Versions/3.16/Python), not a file name in LIBDIR.
For example, with ./configure --enable-framework=/Library/Frameworks:
The library is installed at /Library/Frameworks/Python.framework/Versions/3.16/Python. With --relative-paths, the value becomes ./lib/Python.framework/Versions/3.16/Python instead of ./Python.
The iOS framework rule also installs $(LDLIBRARY) relative to PYTHONFRAMEWORKPREFIX, so I expect the same problem there, but I haven't checked an iOS build.
This is the remaining framework part of gh-159759, which fixed libpython.static for the same builds.
Activity
gh-159998: Fix `libpython.dynamic` in build-details.json for framewor…
[3.15] gh-159998: Fix `libpython.dynamic` in build-details.json for f…
[3.14] gh-159998: Fix `libpython.dynamic` in build-details.json for f…