Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#78559 - [calibre] Possible missing optional dependency

Attached to Project: Community Packages
Opened by John Moore (Section8) - Saturday, 20 May 2023, 13:15 GMT
Last edited by Caleb Maclennan (alerque) - Monday, 22 May 2023, 19:40 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Caleb Maclennan (alerque)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I am running calibre 6.17.0-2. Whenever I attempt to subset an embedded font in the calibre epub editor, it fails with "Error: No module named 'fontTools'". Installing the package "python-fonttools" fixes this. Python-fonttools does not appear to be a dependency of calibre. Shouldn't it at least be an optional dependency?


Additional info:
# pacman -Qi calibre
Name : calibre
Version : 6.17.0-2
Description : Ebook management application
Architecture : x86_64
URL : https://calibre-ebook.com
Licenses : GPL3
Groups : None
Provides : None
Depends On : hunspell hyphen icu jxrlib libmtp libstemmer libusb libwmf mathjax mtdev optipng podofo python-apsw
python-beautifulsoup4 python-cchardet python-css-parser python-cssselect python-dateutil python-dnspython python-feedparser
python-html2text python-html5-parser python-jeepney python-lxml python-markdown python-mechanize python-msgpack
python-netifaces python-pdftotext python-pillow python-psutil python-py7zr python-pychm python-pycryptodome python-pygments
python-pyqt6 python-pyqt6-webengine python-regex python-unrardll python-zeroconf qt6-imageformats qt6-svg qt6-webengine
ttf-liberation uchardet udisks2
Optional Deps : poppler: required for converting pdf to html [installed]
speech-dispatcher: TTS support in the viewer
Required By : None
Optional For : None
Conflicts With : calibre-common calibre-python3
Replaces : calibre-common calibre-python3
Installed Size : 116.84 MiB
Packager : Caleb Maclennan <alerque@archlinux.org>
Build Date : Thu 27 Apr 2023 02:29:18 AM CDT
Install Date : Sun 07 May 2023 01:30:30 PM CDT
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature
This task depends upon

Closed by  Caleb Maclennan (alerque)
Monday, 22 May 2023, 19:40 GMT
Reason for closing:  Fixed
Comment by Toolybird (Toolybird) - Saturday, 20 May 2023, 20:46 GMT
> Shouldn't it at least be an optional dependency?

Probably [1]

[1] https://github.com/kovidgoyal/calibre/blob/v6.17.0/src/calibre/utils/fonts/subset.py#L12

Loading...