Build 64-bit Windows installers for Python 3.9 from source.
At a certain point, supported Python versions begin to receive security updates without installers, so one must build the installer from source to upgrade an existing install.
Many of those installers are built and available here in @adang1345's repo if you don't need to build one from source yourself (e.g. by forking this repository).
That repository was a very useful resource. Some highlights:
- The Python 3.9 section in
Notes.md
- Several small patches were recreated from that repository
- Building for release
- Enabling debug symbols/binaries
- Working around an https/http inconsistency
- Did not adopt the fix for formatting of help .chm files as this is low-priority
- Discussion in the issues regarding building the full installer
Server 2019 is used, as the Server 2022 image causes an error:
MSB8020: The build tools for Visual Studio 2015 (Platform Toolset = 'v140') cannot be found. To build using the v140 build tools, please install Visual Studio 2015 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution". [C:\venv\Tools\msi\bundle\bootstrap\pythonba.vcxproj]