gh-151929: Add pythoninfo commands to Platforms/WASI#152136
Conversation
The "build" command now runs also "pythoninfo-build" and "pythoninfo-host" commands. GitHub Action "WASI": * Run "pythoninfo-build" command. * Remove unused and outdated CROSS_BUILD_PYTHON environment variable. If no subcommand is provided, display the help.
|
The WASI CI job completed successfully and it now has two "pythoninfo" steps:
@brettcannon: Would you mind to review this change? Does it look like a reasonable addition? |
|
"Display build info of the build Python" logs the boot ID, machine ID and uptime: |
|
My plan is to backport this change to 3.13, 3.14 and 3.15 branches, and then update the buildbot configuration to call these new commands. |
Replace "host" with "host/WASI Python", as done in Platforms/WASI command line.
|
I wrote a similar change for Emscripten: #152210. |
|
Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15. |
|
Sorry, @vstinner, I could not cleanly backport this to |
|
Sorry, @vstinner, I could not cleanly backport this to |
|
GH-152222 is a backport of this pull request to the 3.15 branch. |
… (#152222) gh-151929: Add pythoninfo commands to Platforms/WASI (GH-152136) The "build" command now also runs "pythoninfo-build" and "pythoninfo-host" commands. If no subcommand is provided, display the help. GitHub Action "WASI": * Add "pythoninfo-build" and "pythoninfo-host" commands. * Remove unused and outdated CROSS_BUILD_PYTHON environment variable. (cherry picked from commit 7c81637) Co-authored-by: Victor Stinner <vstinner@python.org>
|
GH-152224 is a backport of this pull request to the 3.14 branch. |
|
GH-152224 is a backport of this pull request to the 3.14 branch. |
#152224) * gh-151929: Add pythoninfo commands to Platforms/WASI (#152136) The "build-python", "build-host" and "build" commands now also run "pythoninfo-build" and "pythoninfo-host" commands. If no subcommand is provided, display the help. GitHub Action "WASI": * Add "pythoninfo-build" and "pythoninfo-host" commands. * Remove unused and outdated CROSS_BUILD_PYTHON environment variable. (cherry picked from commit 7c81637)
) (#152224) (#152226) The "build" command now also runs "pythoninfo-build" and "pythoninfo-host" commands. If no subcommand is provided, display the help. GitHub Action "WASI": * Add "pythoninfo-build" command. * Remove unused and outdated CROSS_BUILD_PYTHON environment variable. (cherry picked from commit 7c81637) (cherry picked from commit 6426887)
|
I deployed a new buildbot configuration using the two new WASI "pythoninfo" commands. It works as expected! Example: |
The "build" command now runs also "pythoninfo-build" and "pythoninfo-host" commands.
GitHub Action "WASI":
If no subcommand is provided, display the help.