Title: `test.pythoninfo` fails on Windows in Azure CI · Issue #148750 · python/cpython · GitHub
Open Graph Title: `test.pythoninfo` fails on Windows in Azure CI · Issue #148750 · python/cpython
X Title: `test.pythoninfo` fails on Windows in Azure CI · Issue #148750 · python/cpython
Description: Bug report Bug description: From the logs: .\python.exe -m test.pythoninfo ========================== Starting Command Output =========================== "C:\Windows\system32\cmd.exe" /D /E:ON /V:OFF /S /C "CALL "D:\a\_temp\6b4b980f-daec...
Open Graph Description: Bug report Bug description: From the logs: .\python.exe -m test.pythoninfo ========================== Starting Command Output =========================== "C:\Windows\system32\cmd.exe" /D /E:ON /V:O...
X Description: Bug report Bug description: From the logs: .\python.exe -m test.pythoninfo ========================== Starting Command Output =========================== "C:\Windows\system32\cmd.exe" /D ...
Opengraph URL: https://github.com/python/cpython/issues/148750
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`test.pythoninfo` fails on Windows in Azure CI","articleBody":"# Bug report\n\n### Bug description:\n\nFrom the [logs](https://dev.azure.com/Python/cpython/_build/results?buildId=169626&view=logs&j=c8a71634-e5ec-54a0-3958-760f4148b765&t=d5aef535-6e23-5a7a-0129-110500f04b1e&l=15):\n\n```\n.\\python.exe -m test.pythoninfo\n========================== Starting Command Output ===========================\n\"C:\\Windows\\system32\\cmd.exe\" /D /E:ON /V:OFF /S /C \"CALL \"D:\\a\\_temp\\6b4b980f-daec-4173-8a8e-2525de58013c.cmd\"\"\nWARN: Could not find the platform standard library directory! The Python 'home' directory was set to 'D:\\\\a\\\\1\\\\b\\\\layout-embed-amd64', is this correct?\nERROR: collect_windows() failed\nTraceback (most recent call last):\n File \"test\\pythoninfo.py\", line 1093, in collect_info\n File \"test\\pythoninfo.py\", line 951, in collect_windows\n File \"subprocess.py\", line 1084, in __init__\nLookupError: unknown encoding: oem\n\nCollection failed: exit with error\n```\n\n### CPython versions tested on:\n\nCPython main branch\n\n### Operating systems tested on:\n\n_No response_\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-149926\n* gh-156183\n* gh-156328\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/StanFromIreland","@type":"Person","name":"StanFromIreland"},"datePublished":"2026-04-19T10:39:21Z","url":"https://github.com/python/cpython/issues/148750"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8eae83f9-f18d-b1c9-44b0-4539dac12029 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9F10:2C69FC:18127B8:1FF2BE0:6B020F5A |
| html-safe-nonce | 23cc3276ee13341dd67a3bbd82856862486da4183edc6241d7381994ed730441 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjEwOjJDNjlGQzoxODEyN0I4OjFGRjJCRTA6NkIwMjBGNUEiLCJ2aXNpdG9yX2lkIjoiNjc5MjQ5MTA3Njc3MjA0MDUzOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0a2f89bc6fa9cfa064f07e2e3763d446352174457b64b1087b94780a608e7af9 |
| hovercard-subject-tag | issue:4290598658 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/148750/issue_layout |
| twitter:image | https://opengraph.githubassets.com/619ea397c84ebe4e5412b0eca715a012a13fea1764838971cdfc4f5fb53c66ed/python/cpython/issues/148750 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/619ea397c84ebe4e5412b0eca715a012a13fea1764838971cdfc4f5fb53c66ed/python/cpython/issues/148750 |
| og:image:alt | Bug report Bug description: From the logs: .\python.exe -m test.pythoninfo ========================== Starting Command Output =========================== "C:\Windows\system32\cmd.exe" /D /E:ON /V:O... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | StanFromIreland |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width