Hello Sajith,

> This is the relevant part from `apt install calibre`:
>
> <snip>
> Setting up calibre (5.12.0+dfsg-1) ...
> Failed to byte-compile /usr/lib/calibre/calibre/utils/formatter.py:   File 
> "/usr/lib/calibre/calibre/utils/formatter.py", line 659
>     if v := self.expr(expr):
>           ^
> SyntaxError: invalid syntax
> </snip>

This error comes from obsolete python syntax.
This error was also reported at:
  https://bugs.launchpad.net/calibre/+bug/1942463

Fixes are:
  
https://github.com/kovidgoyal/calibre/commit/884839a691e800e56e185e10019a66b12feea640
and
  
https://github.com/kovidgoyal/calibre/commit/ed32130ca4cbbf235f5560e7c53f78c01eab1106

We must fix soon.

--
YOKOTA

Reply via email to