FS#63323 - [python-pikepdf] Missing dependency on python-lxml
Attached to Project:
Community Packages
Opened by prettyvanilla (prettyvanilla) - Tuesday, 30 July 2019, 16:16 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 31 July 2019, 09:54 GMT
Opened by prettyvanilla (prettyvanilla) - Tuesday, 30 July 2019, 16:16 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 31 July 2019, 09:54 GMT
|
Details
Description:
The recent update to pdfarranger brought in python-pikepdf as a new dependency. pikepdf requires lxml (as per install_requires in its setup.py), but python-lxml is currently missing from the depends array, which leads to pdfarranger also not starting anymore because of a ModuleNotFoundError. Additional info: * python-pikepdf 1.6.0-1 * https://github.com/pikepdf/pikepdf/blob/master/setup.py#L142 Steps to reproduce: $ python Python 3.7.4 (default, Jul 16 2019, 07:12:58) [GCC 9.1.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import pikepdf Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.7/site-packages/pikepdf/__init__.py", line 36, in <module> from .models import ( File "/usr/lib/python3.7/site-packages/pikepdf/models/__init__.py", line 12, in <module> from .metadata import PdfMetadata File "/usr/lib/python3.7/site-packages/pikepdf/models/metadata.py", line 16, in <module> from lxml import etree ModuleNotFoundError: No module named 'lxml' >>> |
This task depends upon