Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Dependency Information for PCBuild to Correct Information #124102

Closed
Wulian233 opened this issue Sep 15, 2024 · 0 comments
Closed

Update Dependency Information for PCBuild to Correct Information #124102

Wulian233 opened this issue Sep 15, 2024 · 0 comments
Labels
build The build process and cross-build docs Documentation in the Doc dir OS-windows

Comments

@Wulian233
Copy link
Contributor

Wulian233 commented Sep 15, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build The build process and cross-build docs Documentation in the Doc dir OS-windows
Projects
None yet
Development

No branches or pull requests

2 participants