python 3.15.0rc2: split libpython shared output - #259
Merged
Merged
Conversation
PKG-15601 C16+C17: move unix shared libs into libpython (install_shared.sh) and static into install_static.sh so python no longer ships .so/.dylib/.a. SYSCONFIG from the shared tree.
Keep CF conda-forge#565 SYSCONFIG note and CF "empty on windows". Drop Install-only CXX comments that CF does not have on those lines.
This reverts commit ae8fbf7.
The build-time interpreter links to libpython at PREFIX/lib, but the dylib has not been installed there when PGO runs checksharedmods. Temporarily link it from build-shared and remove the link afterward.
Author
|
The rest of the cf-alignment is here #256 |
ifitchet
approved these changes
Oct 1, 2026
ifitchet
left a comment
There was a problem hiding this comment.
(I think it's when stderr is redirected to a file that I get my endwin() issue but I don't have a fix... yet!)
Let's go with this in the meanwhile.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Destination channel: ad-testing/label/py315
Links
5dafbd13), add run-export to libpython conda-forge/python-feedstock#928 (unix weak run_exports)Explanation of changes:
libpython*.so/.dylibout of thepythonoutput into a newlibpythonoutput (install_shared.sh).libpython-staticfrombuild_static.shtoinstall_static.sh; drop emptybuild_static.bat.libpython3.dylibinbuild_base.sh._sysconfigdatafrom the shared tree (CF LDLIBRARY is set to libpython3.9a although no static lib is included in mambaforge for Linux conda-forge/python-feedstock#565 / C17) sopython3-config --embedprefers the dylib..so/.dylib/.a; prefix-replacement runs only on libpython outputs (case $PKG_NAME).build_number1. Keepgil_typeCBC;PY_FREETHREADING={{ py_gil_disabled }}only on new outputs so CF scripts run.Notes:
cpython,gil_typedrop) stays out.