Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34.1k
Description
the description inpython.props stated:
Use the latest available version of Visual Studio to build. To overridethis 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. Seehttps://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). Seehttps://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. Seehttps://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.