Skip to content

gh-151929: Add pythoninfo commands to Platforms/WASI#152136

Open
vstinner wants to merge 2 commits into
python:mainfrom
vstinner:wasi_pythoninfo
Open

gh-151929: Add pythoninfo commands to Platforms/WASI#152136
vstinner wants to merge 2 commits into
python:mainfrom
vstinner:wasi_pythoninfo

Conversation

@vstinner

@vstinner vstinner commented Jun 25, 2026

Copy link
Copy Markdown
Member

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 "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.
@vstinner

Copy link
Copy Markdown
Member Author

The WASI CI job completed successfully and it now has two "pythoninfo" steps:

  • Display build info of the build Python
  • Display build info of the host/WASI Python

@brettcannon: Would you mind to review this change? Does it look like a reasonable addition?

@vstinner

Copy link
Copy Markdown
Member Author

"Display build info of the build Python" logs the boot ID, machine ID and uptime:

linux.boot_id: 151ef235-1c59-42b9-9361-6ce6e01cd15e
linux.machine_id: c1e1a6c26d1e4cc2ba4abab80d428183
linux.uptime: 0:08:36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core review needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant