Re: Python 3.11

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

<https://gerrit.libreoffice.org/c/core/+/180078> "python3: get python.exe from extern" should fix this issue.

Thank you both for you help!

On 10/1/25 11:17, Michael Stahl wrote:


On 10/01/2025 10:50, Stephan Bergmann wrote:
On 10.01.25 10:43, Xisco Fauli wrote:
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

So we now need an external Python executable to be available to "bootstrap" the build of ExternalProject_python3?  I would say: Add some `--with-bootstrap-python=...` configure option to let users specify where to take that from (and move to configure.ac whatever convenience code there is to find or obtain it for the users who don't specify that `-with-bootstrap-python=...` explicitly).

no, i think that should just work automatically. just add the "python.exe" that would be downloaded to the "extern" repository (with a versioned filename) and figure out how to (copy and) call it from the ExternalProject build.

alternatively python.exe could be added to LODE, but then you may need to re-run that if the bundled python is updated; that would be more convenient if it's downloaded together with the python source.

--
Xisco Faulí
LibreOffice QA Team
IRC: x1sc0




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux