external/python3/ExternalProject_python3.mk | 1 + 1 file changed, 1 insertion(+)
New commits: commit 5b6e4b921ee9b35b45ecab4cdf3a292df9e8f946 Author: Andras Timar <[email protected]> AuthorDate: Tue Dec 2 16:49:47 2025 +0100 Commit: Andras Timar <[email protected]> CommitDate: Thu Dec 4 12:09:57 2025 +0100 remove python lzma for macOS App Store rejected the package: Your app uses or references the following non-public or deprecated APIs: Contents/Frameworks/LibreOfficePython.framework/Versions/3.10/lib/python3.10/lib-dynload/_lzma.cpython-310-darwin.so Symbols: • _lzma_alone_decoder • _lzma_alone_encoder • _lzma_auto_decoder • _lzma_check_is_supported • _lzma_code • _lzma_easy_encoder • _lzma_end • _lzma_get_check • _lzma_lzma_preset • _lzma_properties_decode • _lzma_properties_encode • _lzma_properties_size • _lzma_raw_decoder • _lzma_raw_encoder • _lzma_stream_decoder • _lzma_stream_encoder The use of non-public or deprecated APIs is not permitted on the App Store, as they can lead to a poor user experience should these APIs change and are otherwise not supported on Apple platforms. Squashed: build fix: this lzma module existed only in intel mac build (hence rm -f) Change-Id: I4b454866e3d5522ea17f3e039a832f71b47732da Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194975 Reviewed-by: Miklos Vajna <[email protected]> Tested-by: Jenkins CollaboraOffice <[email protected]> diff --git a/external/python3/ExternalProject_python3.mk b/external/python3/ExternalProject_python3.mk index c4464f8b5adb..1753041e7c5a 100644 --- a/external/python3/ExternalProject_python3.mk +++ b/external/python3/ExternalProject_python3.mk @@ -210,6 +210,7 @@ $(call gb_ExternalProject_get_state_target,python3,removeunnecessarystuff) : $(c rm $(python3_fw_prefix)/lib/python$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)/lib-dynload/_curses_panel.$(python3_EXTENSION_MODULE_SUFFIX).so rm $(python3_fw_prefix)/lib/python$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)/lib-dynload/_tkinter.$(python3_EXTENSION_MODULE_SUFFIX).so rm $(python3_fw_prefix)/lib/python$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)/lib-dynload/_test*.$(python3_EXTENSION_MODULE_SUFFIX).so + rm -f $(python3_fw_prefix)/lib/python$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)/lib-dynload/_lzma*.$(python3_EXTENSION_MODULE_SUFFIX).so touch $@ endif
