]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-152680: Detect container/VM in test.pythoninfo (#152668)
authorVictor Stinner <vstinner@python.org>
Tue, 30 Jun 2026 15:11:57 +0000 (17:11 +0200)
committerGitHub <noreply@github.com>
Tue, 30 Jun 2026 15:11:57 +0000 (15:11 +0000)
commitf1c536372199cfb9c2e7b360b7bf04208c9eee82
treeae858e71fb6c2f470319f75dfc44579b7095b3e7
parent10ed03edf128ed1101ab8d04bcd715f2033fec55
gh-152680: Detect container/VM in test.pythoninfo (#152668)

On Apple, log the hardware model as "system.hardware".

* Log the "CI", "IMAGE_OS_VERSION" and "container"
  environment variables.
* Add run_command() and first_line() functions.
Lib/test/pythoninfo.py