-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-124102: Update internal documentation under PCbuild, so it now correctly states that Windows Dependency Information #124103
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
Conversation
News entry needed. (I would also want it to merge.) |
No problem (Before I thought only changing the readme and syncing information not required NEWS😥) |
NOTE: remove find VS2015 earlier bacause not support
I have finished NEWS, in addition, I made env.bat support VS2017 and above version detection |
Misc/NEWS.d/next/Build/2024-09-16-09-42-05.gh-issue-124102.Ow254j.rst
Outdated
Show resolved
Hide resolved
Hello @zooba , thank you for your review. I have made the changes, could you please review again? Thank you! (I think I made some additional changes at the time, do you think these should be changed? I am considering revert the changes made to these two files) Tools/c-analyzer/distutils/cygwinccompiler.py |
Yeah, revert the |
Finished 🚀 |
In https://docs.python.org/3.14/using/configure.html.
Visual Studio 2017 or later is required, actually currently VS2015 is the minimum version.
VS2015 was EOL in 2020 October
https://learn.microsoft.com/lifecycle/products/visual-studio-2015
So I removed VS2015 and earlier version support
Before this change, the description in
python.props
stated:https://github.com/python/cpython/blob/main/PCbuild/python.props#L8-L10
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. Therefore, I have changed it to the officially supported Visual Studio 2017 (v141). 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