<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Pierre,</p>
<p>I guess this is related to
<a class="moz-txt-link-freetext" href="https://bugs.documentfoundation.org/show_bug.cgi?id=159988">https://bugs.documentfoundation.org/show_bug.cgi?id=159988</a> ?</p>
<p>Testing with the linux64-7.0 bisect repository which contains</p>
<p>Python 3.7.10 (default, Mar 2 2021, 22:06:27) <br>
[GCC 7.3.1 20180303 (Red Hat 7.3.1-5)] on linux<br>
</p>
<p>also return ".cpython-3.7m.so"</p>
<p>Could you please double check it works for you with a version of
LibreOffice older than 24.2 ?</p>
<div class="moz-cite-prefix">On 20/1/25 12:31, Pierre Vacher wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAGRwCX0bcEiuaFGkMLh+9t309s+A6csF3Z8ZdYbd1QuOH2pZLQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Hi all,</div>
<div><br>
</div>
<div><span class="gmail-HwtZe" lang="en"><span
class="gmail-jCAhz gmail-ChMk0b"><span
class="gmail-ryNqvb">It seems that starting with
LibreOffice for Linux version 24.2, Python is shipped
with LibreOffice.</span></span></span></div>
<div><span class="gmail-HwtZe" lang="en"><span
class="gmail-jCAhz gmail-ChMk0b"><span
class="gmail-ryNqvb"><br>
</span></span></span></div>
<div><span class="gmail-HwtZe" lang="en"><span
class="gmail-jCAhz gmail-ChMk0b"><span
class="gmail-ryNqvb">- LibreOffice for Linux 24.2 offers
Python 3.8.</span></span></span></div>
<div><span class="gmail-HwtZe" lang="en"><span
class="gmail-jCAhz gmail-ChMk0b"><span
class="gmail-ryNqvb">- </span></span><span
class="gmail-jCAhz gmail-ChMk0b"><span
class="gmail-ryNqvb">LibreOffice for Linux 24.8 offers
Python 3.9.</span></span></span></div>
<div><span class="gmail-HwtZe" lang="en"><span
class="gmail-jCAhz gmail-ChMk0b"><span
class="gmail-ryNqvb"><br>
</span></span></span></div>
<div><span class="gmail-HwtZe" lang="en"><span
class="gmail-jCAhz gmail-ChMk0b"><span
class="gmail-ryNqvb">If I go into the program folder of
LibreOffice 24.8 for Linux and launch the Python
interpreter (ie: ./python), I have:</span></span></span></div>
<div><span class="gmail-HwtZe" lang="en"><span
class="gmail-jCAhz gmail-ChMk0b"><span
class="gmail-ryNqvb"><br>
</span></span></span></div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><a class="moz-txt-link-abbreviated" href="mailto:prrvchr@Asus-E510:/opt/libreoffice24.8/program$">prrvchr@Asus-E510:/opt/libreoffice24.8/program$</a>
./python<br>
Python 3.9.21 (main, Dec 12 2024, 22:55:18) <br>
[GCC 12.2.1 20221121 (Red Hat 12.2.1-7)] on linux<br>
Type "help", "copyright", "credits" or "license" for more
information.<br>
>>> <br>
</blockquote>
<div><br>
</div>
<div><span class="gmail-HwtZe" lang="en"><span
class="gmail-jCAhz gmail-ChMk0b"><span
class="gmail-ryNqvb">If I use the distutils package to
know the value of the variable </span></span></span><b>EXT_SUFFIX</b><span
class="gmail-HwtZe" lang="en"><span
class="gmail-jCAhz gmail-ChMk0b"><span
class="gmail-ryNqvb">, I have:</span></span></span></div>
<div><span class="gmail-HwtZe" lang="en"><span
class="gmail-jCAhz gmail-ChMk0b"><span
class="gmail-ryNqvb"><br>
</span></span></span></div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">>>>
import distutils.sysconfig as ds<br>
>>> print(ds.get_config_var("EXT_SUFFIX"))<br>
<b>.<a href="http://cpython-3.9.so" moz-do-not-send="true">cpython-3.9.so</a></b><br>
>>></blockquote>
<div><span class="gmail-HwtZe" lang="en"><span
class="gmail-jCAhz gmail-ChMk0b"><span
class="gmail-ryNqvb"><br>
</span></span></span></div>
<div><span class="gmail-HwtZe" lang="en"><span
class="gmail-jCAhz gmail-ChMk0b"><span
class="gmail-ryNqvb">Normally, at least for my local
version of Python, the value of <b>EXT_SUFFIX</b>
should be:</span></span></span></div>
<div><b>.cpython-39-x86_64-linux-gnu.so</b></div>
<div><b><br>
</b></div>
<div><span class="gmail-HwtZe" lang="en"><span
class="gmail-jCAhz gmail-ChMk0b"><span
class="gmail-ryNqvb">So this is not a big deal but it is
causing me a lot of problems.</span></span><br>
</span></div>
<div><span class="gmail-HwtZe" lang="en"><span
class="gmail-jCAhz"><span class="gmail-ryNqvb">Can someone
explain it to me?</span></span> <span
class="gmail-jCAhz gmail-ChMk0b"><span
class="gmail-ryNqvb">Thanks.</span></span></span></div>
<div>
<pre class="gmail-bz_comment_text" id="gmail-comment_text_3"><span
class="gmail-quote"></span>
</pre>
</div>
</div>
</blockquote>
<pre class="moz-signature" cols="72">--
Xisco FaulĂ
LibreOffice QA Team
IRC: x1sc0</pre>
</body>
</html>