Package: calibre
Version: 9.8.0+ds+~0.10.6-1
Severity: minor
X-Debbugs-Cc: [email protected]

Dear Maintainer,

This is similar to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1136119

when pypy3 is installed, an error is printed during calibre installation:

    Paramétrage de calibre (9.8.0+ds+~0.10.6-1) ...
    Failed to byte-compile /usr/lib/calibre/calibre/utils/forked_map.py:   File 
"/usr/lib/calibre/calibre/utils/forked_map.py", line 103
        def forked_map[T, R](fn: Callable[[T], R], iterable: T, *iterables: T, 
timeout: int | float | None = None, num_workers: int = 0) -> Iterator[R]:
                  ^
    SyntaxError: expected '('

This is due to dpkg running:

    # pypy3compile -p calibre
    Failed to byte-compile /usr/lib/calibre/calibre/utils/forked_map.py:   File 
"/usr/lib/calibre/calibre/utils/forked_map.py", line 103
        def forked_map[T, R](fn: Callable[[T], R], iterable: T, *iterables: T, 
timeout: int | float | None = None, num_workers: int = 0) -> Iterator[R]:
                      ^
    SyntaxError: expected '('

Running `pypy3compile -p calibre -V 3.12-` instead fixes the issue, so
adding a `X-Python3-Version: >= 3.12` in d/control should fix it as in
113629.

-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.19.14+deb14-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages calibre depends on:
ii  ca-certificates               20260223
ii  calibre-bin                   9.8.0+ds+~0.10.6-1
ii  fonts-liberation              1:2.1.5-3
ii  libjpeg-turbo-progs           1:3.1.3-4
ii  libjxr-tools                  1.2~git20170615.f752187-5.3+b2
ii  libqt6webenginecore6-bin      6.10.2+dfsg-3
ii  optipng                       7.9.1+ds-2
ii  poppler-utils                 25.03.0-11.1+b1
ii  pyqt6-dev-tools               6.11.0-1
ii  python3                       3.13.9-3+b1
ii  python3-apsw                  3.46.0.1-1+b4
ii  python3-bs4                   4.14.3-2
ii  python3-chm                   0.8.6+ds1-1
ii  python3-css-parser            1.0.10-1
ii  python3-cssselect             1.4.0-1
ii  python3-dateutil              2.9.0-4
ii  python3-feedparser            6.0.12-1
ii  python3-fonttools             4.62.1-7
ii  python3-html2text             2025.4.15-1
ii  python3-html5-parser          0.4.12+ds1-1
ii  python3-html5lib              1.2-3
ii  python3-jeepney               0.9.0-2
ii  python3-lxml                  6.1.0-1
ii  python3-lxml-html-clean       0.4.4-1
ii  python3-markdown              3.10.2-1
ii  python3-mechanize             1:0.4.10+ds1-1
ii  python3-msgpack               1.1.2-2
ii  python3-netifaces             0.11.0-2+b7
ii  python3-pil                   12.2.0-1
ii  python3-py7zr                 1.1.2+dfsg-2
ii  python3-pycryptodome          3.20.0+dfsg-3
ii  python3-pygments              2.19.2+dfsg-1
ii  python3-pykakasi              2.3.0-3
ii  python3-pyparsing             3.3.2-2
ii  python3-pyqt6                 6.11.0-1
ii  python3-pyqt6.qtmultimedia    6.11.0-1
ii  python3-pyqt6.qtquick         6.11.0-1
ii  python3-pyqt6.qtsvg           6.11.0-1
ii  python3-pyqt6.qttexttospeech  6.11.0-1
ii  python3-pyqt6.qtwebengine     6.11.0-1
ii  python3-pyqt6.sip             13.11.1-1
ii  python3-pystache              0.6.8-2
ii  python3-regex                 0.1.20250918-1+b1
ii  python3-routes                2.5.1-7
ii  python3-six                   1.17.0-2
ii  python3-speechd               0.12.1-4
ii  python3-tzlocal               5.3.1-2
ii  python3-xxhash                3.2.0-1+b6
ii  python3-zeroconf              0.148.0-4
ii  python3.14                    3.14.4-2
ii  webp                          1.5.0-0.1+b2
ii  xdg-utils                     1.2.1-2

Versions of packages calibre recommends:
ii  python3-dnspython          2.8.0-2
ii  python3-ipython            9.11.0-1
ii  python3-requests-toolbelt  1.0.0-5
ii  qt6-speech-flite-plugin    6.10.2-2
ii  udisks2                    2.11.1-1

Versions of packages calibre suggests:
pn  python3-unrardll  <none>

-- no debconf information

Reply via email to