Skip to content

Update Dependency Information for PCBuild to Correct Information #124102

Closed
@Wulian233

Description

@Wulian233

the description in python.props stated:

Use the latest available version of Visual Studio to build. To override
this and build with an earlier version, pass "/p:PlatformToolset=v100"
(for example) when building.

However, v100 corresponds to Visual Studio 2010, and now Visual Studio 2017 or later is required. v100 is no longer available. See https://docs.python.org/3.14/using/configure.html.

Currently, the latest Visual Studio 2022 uses v143, not v140. Therefore, I have changed it to the officially supported Visual Studio 2017 (v140). See https://github.com/python/cpython/blob/main/PCbuild/readme.txt#L62.

To correctly build CPython, the minimum Python required version is now 3.10; otherwise, it will download via NuGet online. See https://github.com/python/cpython/blob/main/PCbuild/find_python.bat#L45.

However, descriptions in other files are outdated, mentioning versions like 3.6, 2.7, and 3.4. Due to the long time lapse, these descriptions have become inconsistent across files. I have now standardized them.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS-windowsbuildThe build process and cross-builddocsDocumentation in the Doc dir

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions