[3.14] gh-140702: Log color and GHA env vars in test.pythoninfo (GH-140747) (#140753)

gh-140702: Log color and GHA env vars in test.pythoninfo (GH-140747)
(cherry picked from commit 376559bf54)

Co-authored-by: Victor Stinner <vstinner@python.org>
This commit is contained in:
Miss Islington (bot) 2025-10-29 13:54:04 +01:00 committed by GitHub
parent 9a7dccd7a1
commit e0f54a0bda
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -291,6 +291,8 @@ def collect_os(info_add):
"DISTUTILS_USE_SDK",
"DYLD_LIBRARY_PATH",
"ENSUREPIP_OPTIONS",
"FORCE_COLOR",
"GITHUB_ACTIONS",
"HISTORY_FILE",
"HOME",
"HOMEDRIVE",
@ -307,11 +309,13 @@ def collect_os(info_add):
"MAKEFLAGS",
"MIXERDEV",
"MSSDK",
"NO_COLOR",
"PATH",
"PATHEXT",
"PIP_CONFIG_FILE",
"PLAT",
"POSIXLY_CORRECT",
"PYTHON_COLORS",
"PY_SAX_PARSER",
"ProgramFiles",
"ProgramFiles(x86)",