]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-140702: Log color and GHA env vars in test.pythoninfo (#140747)
authorVictor Stinner <vstinner@python.org>
Wed, 29 Oct 2025 12:29:10 +0000 (13:29 +0100)
committerGitHub <noreply@github.com>
Wed, 29 Oct 2025 12:29:10 +0000 (13:29 +0100)
Lib/test/pythoninfo.py

index e8718decf6d6e95e8a9b01b7cddb799c1ac5bb7b..3befc0f2e633cad42759567f75e6e422ddaafe2b 100644 (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)",