[Libreoffice-bugs] [Bug 143867] Python Implementation Poorly Conceived with No Package Installation Process

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Aug 26 11:18:19 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=143867

Jan-Marek Glogowski <glogow at fbihome.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #11 from Jan-Marek Glogowski <glogow at fbihome.de> ---
I'll give you some background info, especially for Windows (but also the TDF
builds on other platforms).

LO bundles / builds it's own (patched) Python, because the Python UNO bridge
(AKA the interface to control LO via Python) is implemented as a C++ shared
library (DLL on Windows). I don't know, if that implementation must be done
this way or not, and if a Python-only implementation would be possible.
AFAIK it uses CPython memory management functions, which differ between CPython
versions, so the only alternative on Windows would be to ship pre-build
UNO-Python-DLLs for many Python versions. Nobody wants to implement this. So LO
can't rely on upstream Python installers on Win.

And when I did the Windows ARM64 LO port, I updated Python 3.7 to 3.8 and
updated the installation details in
https://git.libreoffice.org/core/+/b4dfba947768834ffecc09056992019878711c8b%5E!
As you can see it adds a lot of asyncio files, which were missing from LO
Python 3.7 install set; quite probably the origin of your reported problem.

For Linux, distros simply build LO with the system python => problem solved.

I don't have any solution for the broken LO 7.0 + Python 3.7; also it's EOL:
https://wiki.documentfoundation.org/ReleasePlan/7.0

My general suggestion would be to use LO from a Linux distro, if you need any
additional Python modules with less hassle; that seems the most straight
forward solution.

Since LO > 7.0 works, as demonstrated by multiple users, I'm closing this as
WFM.

(In reply to flywire from comment #10)

General answer: feel free to implement your suggestions / write the docs. LO is
a FOSS project (or pay someone to implement it). For documentation see
https://wiki.documentfoundation.org/Documentation/Development

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210826/26fa2893/attachment.htm>


More information about the Libreoffice-bugs mailing list