Hello,
The internal python has been bumped to 3.11 in <https://git.libreoffice.org/core/+/50524481b30d904ee4a12ef478eeae05647a465d> "Python: upgrade to 3.11.11 (master only)".
However, the Windows build now needs an existing python.exe to create deepfreeze.c, See https://github.com/python/cpython/blob/3.11/PCbuild/_freeze_module.vcxproj#L397
Cpython already has a script called find_python.bat to get python.exe in case it doesn't exist, which downloads nuget.exe first and then it uses it to get python.exe.
At the moment find_python.bat is called from ExternalProject_python3.mk when building, see https://git.libreoffice.org/core/+/50524481b30d904ee4a12ef478eeae05647a465d/external/python3/ExternalProject_python3.mk#37, however nuget.exe and python.exe will be downloaded every time after a make clean or a make python3.clean. Besides, it will probably fail if there is no internet available at the moment of building python3.
Any idea on how this could be improved ?
Regards
-- Xisco Faulí LibreOffice QA Team IRC: x1sc0