<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello,</p>
<p>The internal python has been bumped to 3.11 in
<a class="moz-txt-link-rfc2396E" href="https://git.libreoffice.org/core/+/50524481b30d904ee4a12ef478eeae05647a465d"><https://git.libreoffice.org/core/+/50524481b30d904ee4a12ef478eeae05647a465d></a>
"Python: upgrade to 3.11.11 (master only)".</p>
<p>However, the Windows build now needs an existing <span
class="com">python.exe to create deepfreeze.c, See
<a class="moz-txt-link-freetext" href="https://github.com/python/cpython/blob/3.11/PCbuild/_freeze_module.vcxproj#L397">https://github.com/python/cpython/blob/3.11/PCbuild/_freeze_module.vcxproj#L397</a></span></p>
<p><span class="com">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.</span></p>
<p><span class="com">At the moment find_python.bat is called from
ExternalProject_python3.mk when building, see
<a class="moz-txt-link-freetext" href="https://git.libreoffice.org/core/+/50524481b30d904ee4a12ef478eeae05647a465d/external/python3/ExternalProject_python3.mk#37">https://git.libreoffice.org/core/+/50524481b30d904ee4a12ef478eeae05647a465d/external/python3/ExternalProject_python3.mk#37</a>,
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.</span></p>
<p><span class="com">Any idea on how this could be improved ?</span></p>
<p><span class="com">Regards<br>
</span></p>
<pre class="moz-signature" cols="72">--
Xisco FaulĂ
LibreOffice QA Team
IRC: x1sc0</pre>
</body>
</html>