This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Cannot build in VS 2022
Type: compile error Stage: resolved
Components: Build, Windows Versions: Python 3.11, Python 3.10, Python 3.9
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: steve.dower Nosy List: miss-islington, paul.moore, steve.dower, tim.golden, zach.ware
Priority: normal Keywords: patch

Created on 2021-06-29 12:44 by steve.dower, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 26962 merged steve.dower, 2021-06-30 01:36
PR 26975 merged miss-islington, 2021-06-30 19:06
PR 26976 merged miss-islington, 2021-06-30 19:06
Messages (4)
msg396723 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2021-06-29 12:44
The project files require an additional check in PCbuild/python.props to select the right toolset for VisualStudioVersion=17.0. Without this, everything will refuse to build.

The toolset is still v142, so there should be not compatibility issues. The problem is in detection, not use.
msg396791 - (view) Author: Steve Dower (steve.dower) * (Python committer) Date: 2021-06-30 19:06
New changeset d3a95c1b6eacbbbd92c294744e7ed41932f3f63e by Steve Dower in branch 'main':
bpo-44535: Enable building with Visual Studio 2022 on Windows (GH-26962)
https://github.com/python/cpython/commit/d3a95c1b6eacbbbd92c294744e7ed41932f3f63e
msg396794 - (view) Author: miss-islington (miss-islington) Date: 2021-06-30 19:24
New changeset 6843a3b9300eb80c2bf5dac7dd363dae9e6f000d by Miss Islington (bot) in branch '3.10':
bpo-44535: Enable building with Visual Studio 2022 on Windows (GH-26962)
https://github.com/python/cpython/commit/6843a3b9300eb80c2bf5dac7dd363dae9e6f000d
msg396795 - (view) Author: miss-islington (miss-islington) Date: 2021-06-30 19:31
New changeset 67e394562d67cbcd0ac8114e5439494e7645b8f5 by Miss Islington (bot) in branch '3.9':
bpo-44535: Enable building with Visual Studio 2022 on Windows (GH-26962)
https://github.com/python/cpython/commit/67e394562d67cbcd0ac8114e5439494e7645b8f5
History
Date User Action Args
2022-04-11 14:59:47adminsetgithub: 88701
2021-06-30 19:38:30steve.dowersetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2021-06-30 19:31:12miss-islingtonsetmessages: + msg396795
2021-06-30 19:24:50miss-islingtonsetmessages: + msg396794
2021-06-30 19:06:38miss-islingtonsetpull_requests: + pull_request25540
2021-06-30 19:06:26miss-islingtonsetnosy: + miss-islington
pull_requests: + pull_request25539
2021-06-30 19:06:20steve.dowersetmessages: + msg396791
2021-06-30 01:36:23steve.dowersetkeywords: + patch
stage: patch review
pull_requests: + pull_request25528
2021-06-29 12:44:02steve.dowercreate