Title: 3.14: Windows on Arm build fails since windows-11-arm migrated to windows-11-vs2026-arm · Issue #158244 · python/cpython · GitHub
Open Graph Title: 3.14: Windows on Arm build fails since windows-11-arm migrated to windows-11-vs2026-arm · Issue #158244 · python/cpython
X Title: 3.14: Windows on Arm build fails since windows-11-arm migrated to windows-11-vs2026-arm · Issue #158244 · python/cpython
Description: The Windows Arm64 jobs in the CI recently started failing on 3.14 (for example). Noted by @StanFromIreland in #158188 (comment): the _freeze_module cpython/PCbuild/pcbuild.proj Lines 20 to 21 in 9def455
Open Graph Description: The Windows Arm64 jobs in the CI recently started failing on 3.14 (for example). Noted by @StanFromIreland in #158188 (comment): the _freeze_module cpython/PCbuild/pcbuild.proj Lines 20 to 21 in 9d...
X Description: The Windows Arm64 jobs in the CI recently started failing on 3.14 (for example). Noted by @StanFromIreland in #158188 (comment): the _freeze_module cpython/PCbuild/pcbuild.proj Lines 20 to 21 in 9d...
Opengraph URL: https://github.com/python/cpython/issues/158244
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"3.14: Windows on Arm build fails since windows-11-arm migrated to windows-11-vs2026-arm","articleBody":"The Windows Arm64 jobs in the CI recently started failing on 3.14 ([for example](https://github.com/python/cpython/actions/runs/36172871396/job/108196480582)). Noted by @StanFromIreland in https://github.com/python/cpython/pull/158188#issuecomment-5837953982: the `_freeze_module`\nhttps://github.com/python/cpython/blob/9def455ebd4017dfbfcf1377137bb949ff2e29c1/PCbuild/pcbuild.proj#L20-L21\ncan no longer be compiled for `PreferredToolArchitecture=x86` and `PlatformToolset=v143`:\n```\nThe build tools for Visual Studio 2022 (Platform Toolset = 'v143') cannot be found.\n```\n\n`PreferredToolArchitecture=x86` is chosen, because we use the `x86` version of msbuild in CI:\n```\n\"C:\\Program Files\\Microsoft Visual Studio\\18\\Enterprise\\MSBuild\\Current\\Bin\\msbuild.exe\"\n```\nwhich is chosen by `build.bat` if no `MSBUILD` environment variable is set and msbuild is not in the path. [^1]\n\nCompiling the `_freeze_module` for `arm64` on an `arm64` host by just using the `arm64` version of msbuild would solve this, by e.g. just adding\n\n```\n env:\n MSBUILD: ${{ inputs.arch == 'arm64' && 'C:\\Program Files\\Microsoft Visual Studio\\18\\Enterprise\\MSBuild\\Current\\Bin\\arm64\\msbuild.exe' || '' }}\n```\nto \n\nhttps://github.com/python/cpython/blob/e16b12bb982bc916664850da1d0a78109b2145b8/.github/workflows/reusable-windows.yml#L38-L40\nbecause then `PreferredToolArchitecture=arm64` and also the arm64 version of the compiler is chosen.\n\nI think running the `_freeze_module` natively on an arm64 host is anyway the better fit?\n\n[^1]: noticed already in https://github.com/python/cpython/issues/153668#issuecomment-5304195008\n","author":{"url":"https://github.com/chris-eibl","@type":"Person","name":"chris-eibl"},"datePublished":"2026-09-26T16:47:54Z","url":"https://github.com/python/cpython/issues/158244"}
| 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:7a787623-a8a8-27c6-6d87-dfb45604076a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B9BE:1F68:DB6149:127158F:6B01F400 |
| html-safe-nonce | 04357ca1b87aa18aca6bb52726aab9984fff5bdf626e875a514ffb595a4e8b79 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOUJFOjFGNjg6REI2MTQ5OjEyNzE1OEY6NkIwMUY0MDAiLCJ2aXNpdG9yX2lkIjoiMTU5NjAwMDAzMDY5MzY1MTQ1NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a45146ff69de1103ac6fb001d8600e91ce6b1dee1db8460d347721bf6992459a |
| hovercard-subject-tag | issue:5595636781 |
| 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/158244/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3b0adbdf53ca607d060f1ec659978b5420465e7bafb5767c00964823477a96a4/python/cpython/issues/158244 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3b0adbdf53ca607d060f1ec659978b5420465e7bafb5767c00964823477a96a4/python/cpython/issues/158244 |
| og:image:alt | The Windows Arm64 jobs in the CI recently started failing on 3.14 (for example). Noted by @StanFromIreland in #158188 (comment): the _freeze_module cpython/PCbuild/pcbuild.proj Lines 20 to 21 in 9d... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | chris-eibl |
| 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