Also confirmed on 1.22 backport in Wheezy with python-lxml 2.3.2-1. Working with 1.22 in Jessie with python-lxml 3.2.0-1+b1.

The python-lxml change log mentions that the doctype option was added in 2.3.5-1 http://metadata.ftp-master.debian.org/changelogs//main/l/lxml/lxml_3.2.0-1_changelog

  - Features added:
      * lxml.html.tostring() gained new serialisation options
        ``with_tail`` and ``doctype``.

The calibre package may want to add 2.3.5-1 as a minimum dependency. That said, the Calibre website lists python-lxml 3.2.1 as a dependency http://calibre-ebook.com/download_linux but that isn't yet an option as 3.2.0-1 is the latest available in sid/jessie that the package could depend on.

I'll take a look at the possibility of backporting python-lxml for wheezy. In addition the unstable calibre package may want a version dependency adding for python-lxml. Either 2.3.5-1+ or 3.2.0-1 with a view to matching the 3.2.1 dependency when possible (3.3 is currently in experimental) in case there are other incompatibilities with older python-lxml versions.

Gary


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to