Repository navigation
python 3.15.0rc3: align python-feedstock with conda-forge - #256
Conversation
Replay #256 topology on origin/master without merge 2a73320. Keep master patch numbering (0028 site.pth, 0029 zlib-ng, 0030 xxlimited). Wrap win FT patches in freethreading jinja; add CF conda-forge#928 libpython unix weak run_exports. Refs: PKG-15601
2a73320 to
6e3e952
Compare
|
Interesting, there is a new vendored |
PKG-2624 spike stacked on #256. Drop release variants so this graph uploads only to ad-testing/label/py315-debug, and gate the d ABI with unconditional tests instead of PY_INTERP_DEBUG getenv. Windows skipped. Do not merge to pkgs/main.
Replay #256 topology on origin/master without merge 2a73320. Keep master patch numbering (0028 site.pth, 0029 zlib-ng, 0030 xxlimited). Wrap win FT patches in freethreading jinja; add CF conda-forge#928 libpython unix weak run_exports. Refs: PKG-15601
cffd5c1 to
ed13f25
Compare
Keep #256 CF-align remainder (cpython, freethreading CBC, no from_source_control/gil_type). Take master 3.15.0rc3 sha256, macOS shared-PGO dylib symlink, prefix-replacement NEEDED checks, and explicit run: on noarch outputs. Keep build_number 1 so rc3 CF-align artifacts do not collide with master's _0 on ad-testing/label/py315.
I think we were leaning into NOT introducing a new Here it isn't doing anything useful (unlike So I would remove the ( I guess there's a possibility that someone will now want a |
cbouss
left a comment
There was a problem hiding this comment.
Can you squash all commits into one and remove most comments of this PR?
I ran some comparison tests between this build and our previous build and found one issue regarding jit that need to be addressed. See inline comments.
Also:
- install_static.sh should be aligned. There are places where VERABI_NO_DBG should be used over VERABI
- fix_staged_recipe should be updated following conda-forge#944
Keep freethreading CBC, python_site_packages_path, and no cpython
output. install_static.sh uses VERABI_NO_DBG for config/nolto paths.
fix_staged_scripts.py finds cli-{arch}.exe for conda-build 26.9+
(conda-forge conda-forge#944). JIT on *64 including arm64; run_test_jit.py fails
if JIT is not compiled in. Drop linux sysroot missing_dso whitelist.
b4743c4 to
344ca38
Compare
|
@cbouss Thank you for the careful review — the JIT catch on arm64 was especially useful. Addressed in
Happy to adjust further if anything still looks off. |
There was a problem hiding this comment.
One difference I can see here is that CF explicitly added the python3t%_D%.dll libs to the GIL build in this change: conda-forge#934 -- there is a second equivalent change to .lib later on, ~l159 in our script.
There was a problem hiding this comment.
Here -- and in three places below -- we use PREFIX/compiler_compat and CF use $PREFIX/share/python_compiler_compat
There was a problem hiding this comment.
After digging into it, we decided to rename it here 4527c55 (this PR)
GIL MSBuild already produces python3t.dll as a PEP 803 abi3t forwarder; copy it (and python3t.lib) into PREFIX so GIL 3.15 can load those extensions. Tests assert lib/libs python3t.lib and ctypes.WinDLL. Matches conda-forge#937. Refs: PKG-15601
682d8ae to
62b2704
Compare
FHS-align with conda-forge: sysconfig -B, mkdir, ld symlink, and README all use $PREFIX/share/python_compiler_compat. Refs: PKG-15601
Destination channel: ad-testing/label/py315
Links
main@ 3.15.0rc3 (#885, #928, #943, #944)Explanation of changes:
One commit on
master(344ca389). CF-align remainder only — do not re-review the libpython split or the rc3 bump.gil_type→freethreading: yes/noandPY_FREETHREADING. FT on all platforms.build_type: releaseonly (# - debug; unix debug is #258).source:url + sha256 + patches. Nofrom_source_control/gil_type/PY_GIL_DISABLED/bootstrap/linkage_nature.build_number1 so rc3 CF-align artifacts do not collide with master's_0onad-testing/label/py315.cpythonoutput.python-freethreading/python-gil/python-jitrun: python.python_site_packages_pathset. Win FT patches 0026/0030 behind{% if freethreading == "yes" %}. CMake tests usePython_FIND_ABI.install_static.sh:VERABI_NO_DBGfor config dir andlibpython*.nolto.a(matches CF).fix_staged_scripts.py:cli-{arch}.exefromconda-launchersorconda_build(conda-forge #944; conda-build 26.9+).*64including osx-arm64 / linux-aarch64.run_test_jit.pyfails if JIT is not compiled in.$RPATHsysrootmissing_dso_whitelist. Win MSVCR whitelist stays.doc_url/dev_urlare python.org docs + devguide.Already on master (#259)
libpython/libpython-static.pythondoes not shiplibpython*.so/.dylib.Frozen AR-delta vs conda-forge
llvm-tools-21. No_python_rc. Keep 0023 branding, 0029 zlib-ng, 0030 xxlimited.Notes:
ad-testing/label/py315only. Do not merge to pkgs/main.parsing_jinja_failureis skipped ({% if freethreading is not defined %}). Graph generate must succeed; the linter skip may stay red.libpython3.sois empty upstream (cpython#104612); testlibpython3${SHLIB_EXT}on unix release only.