Python integration in LibreOffice 24.2 and 24.8

Xisco Fauli xiscofauli at libreoffice.org
Mon Jan 20 12:32:07 UTC 2025


Hi Pierre,

I guess this is related to 
https://bugs.documentfoundation.org/show_bug.cgi?id=159988 ?

Testing with the linux64-7.0 bisect repository which contains

Python 3.7.10 (default, Mar  2 2021, 22:06:27)
[GCC 7.3.1 20180303 (Red Hat 7.3.1-5)] on linux

also return ".cpython-3.7m.so"

Could you please double check it works for you with a version of 
LibreOffice older than 24.2 ?

On 20/1/25 12:31, Pierre Vacher wrote:
> Hi all,
>
> It seems that starting with LibreOffice for Linux version 24.2, Python 
> is shipped with LibreOffice.
>
> - LibreOffice for Linux 24.2 offers Python 3.8.
> - LibreOffice for Linux 24.8 offers Python 3.9.
>
> If I go into the program folder of LibreOffice 24.8 for Linux and 
> launch the Python interpreter (ie: ./python), I have:
>
>     prrvchr at Asus-E510:/opt/libreoffice24.8/program$ ./python
>     Python 3.9.21 (main, Dec 12 2024, 22:55:18)
>     [GCC 12.2.1 20221121 (Red Hat 12.2.1-7)] on linux
>     Type "help", "copyright", "credits" or "license" for more information.
>     >>>
>
>
> If I use the distutils package to know the value of the variable 
> *EXT_SUFFIX*, I have:
>
>     >>> import distutils.sysconfig as ds
>     >>> print(ds.get_config_var("EXT_SUFFIX"))
>     *.cpython-3.9.so <http://cpython-3.9.so>*
>     >>>
>
>
> Normally, at least for my local version of Python, the value of 
> *EXT_SUFFIX* should be:
> *.cpython-39-x86_64-linux-gnu.so*
> *
> *
> So this is not a big deal but it is causing me a lot of problems.
> Can someone explain it to me? Thanks.
>
-- 
Xisco Faulí
LibreOffice QA Team
IRC: x1sc0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20250120/bb946441/attachment.htm>


More information about the LibreOffice mailing list