gh-152715: Add pythoninfo-build command to Platforms/Apple#152716
Conversation
Add a pythoninfo-build command to Platforms/Apple to display build info of the build Python. The command runs "make pythoninfo". The "ci" and "build" commands now also run "pythoninfo-build".
|
My plan is to backport this change to 3.14 and 3.15 branches, and then modify the buildbot configuration to add a step running the new I made similar changes (with buildbot changes) on:
See also pending PR #152713 for Android. |
|
Logs of the iOS CI. Build Python pythoninfo: ARM64 on macOS-14.8.7 running in a VM. iOS pythoninfo: iOS on arm64. |
|
Thanks @vstinner for the PR, and @freakboy3742 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14, 3.15. |
|
GH-152723 is a backport of this pull request to the 3.15 branch. |
|
GH-152724 is a backport of this pull request to the 3.14 branch. |
…-152716) (#152724) Add a pythoninfo-build command to Platforms/Apple to display build info of the build Python. The command runs "make pythoninfo". The "ci" and "build" commands now also run "pythoninfo-build". (cherry picked from commit 746c535) Co-authored-by: Victor Stinner <vstinner@python.org>
…-152716) (#152723) Add a pythoninfo-build command to Platforms/Apple to display build info of the build Python. The command runs "make pythoninfo". The "ci" and "build" commands now also run "pythoninfo-build". (cherry picked from commit 746c535) Co-authored-by: Victor Stinner <vstinner@python.org>
|
Thanks for the review+merge @freakboy3742!
Oh, the buildbot configuration has a "Configure and compile build Python" step which runs "python3 Platforms/Apple build iOS build" and with this change, the step already runs test.pythoninfo on the build Python: I will leave the configuration as it is for now, since pythoninfo is now run as expected. But maybe later the configuration can be modified to run each step (configure, build, pythoninfo) as separated buildbot steps to separate the logs (to make logs easier to read). |
* main: (266 commits) pythongh-151626: Fix tests that fail when PYTHONPYCACHEPREFIX is set (pythonGH-151952) pythongh-152728: IDLE - move 3 toplevel fix_xyz functions to idlelb.util (python#152729) pythongh-152711: Add pythoninfo-build command to Platforms/Android (python#152713) pythongh-152715: Add pythoninfo-build command to Platforms/Apple (python#152716) pythongh-152433: Windows: enable mmapmodule for UWP (python#152473) pythongh-152433: Windows: use GetFileSizeEx instead of GetFileSize for memory mapped files (python#152383) pythonGH-81881: Raise `SpecialFileError` for sockets and devices in `shutil.copyfile` (python#142693) pythongh-152502: Detect the curses mouse interface and is_* methods portably (pythonGH-152705) pythongh-145857: Replace `DELETE_GLOBAL` with `PUSH_NULL; STORE_GLOBAL` (pythonGH-146314) pythongh-145854: Replace `DELETE_NAME` with `PUSH_NULL; STORE_NAME` (pythonGH-146006) pythongh-152680: Detect container/VM in test.pythoninfo (python#152668) pythongh-152682: Fix NULL dereference on OOM in `symtable_visit_type_param_bound_or_default` (python#152684) pythongh-151881: Skip tk_inactive negativity check on Windows (pythonGH-152683) pythongh-152546: Refactor `mappingproxy.__new__` to use `PyDictProxy_New` (python#152547) pythongh-151126: Fix a possible crash during the startup with no memory under `Py_STACKREF_DEBUG` (python#152478) pythongh-152635: Raise MemoryError when the lock allocation fails in `_interpchannels.create()` (python#152642) pythongh-151029: Fix `test_remote_exec_deleted_static_executable` on static installed builds (pythonGH-152653) pythongh-121249: Deprecate using F/D type codes in the struct module (python#152309) pythongh-152192: Fix JUMP_BACKWARD passing a truncated oparg to the jit tracer (pythonGH-152382) Don't require the `_test{internal}capi` modules in `test_monitoring.py` (python#152311) ...
Add a pythoninfo-build command to Platforms/Apple to display build info of the build Python. The command runs "make pythoninfo".
The "ci" and "build" commands now also run "pythoninfo-build".
Platforms/Apple: addpythoninfo-buildcommand to display build info of the build Python #152715