https://bugs.documentfoundation.org/show_bug.cgi?id=161947
Bug ID: 161947
Summary: python3: bundle setuptools
Product: LibreOffice
Version: 25.2.0.0 alpha0+
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Installation
Assignee: [email protected]
Reporter: [email protected]
Since python has been upgraded from 3.9 to 3.10
<https://git.libreoffice.org/core/+/a1295cb177295752f8cbfbb49e13d5bb69ed7dc7%5E%21/>
doing make lxml with
--enable-python=fully-internal
--enable-werror
fails
Traceback (most recent call last):
File
"/home/tdf/lode/jenkins/workspace/lo_callgrind_linux/workdir/UnpackedTarball/lxml/setup.py",
line 15, in <module>
from setuptools import setup
ModuleNotFoundError: No module named 'setuptools'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File
"/home/tdf/lode/jenkins/workspace/lo_callgrind_linux/workdir/UnpackedTarball/lxml/setup.py",
line 17, in <module>
from distutils.core import setup
File
"/home/tdf/lode/jenkins/workspace/lo_callgrind_linux/instdir/program/python-core-3.10.14/lib/distutils/__init__.py",
line 19, in <module>
warnings.warn(_DEPRECATION_MESSAGE,
DeprecationWarning: The distutils package is deprecated and slated for removal
in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
make[1]: ***
[/home/tdf/lode/jenkins/workspace/lo_callgrind_linux/external/lxml/ExternalProject_lxml.mk:26:
/home/tdf/lode/jenkins/workspace/lo_callgrind_linux/workdir/ExternalProject/lxml/build]
Error 1
See
https://git.libreoffice.org/core/+/dc97b366ab9ce3d38c84da06b8b37131579f87f3%5E%21/
and
https://git.libreoffice.org/core/+/f41773d684dfb1bfebe484bbf6d1ec4b5937d348%5E%21/
Towards python 3.12 ( distutils has been dropped there ) we need to bundle
setuptools from https://github.com/pypa/setuptools/tags
--
You are receiving this mail because:
You are the assignee for the bug.