Package: python3-nbconvert,python3-lxml
Version: 6.5.3-4,5.2.0-1
Control: affects -1 src:pandas
Control: affects -1 python3-nbsphinx
Control: block 1068104 by -1

The pandas documentation fails to build in current unstable with:

Running Sphinx v7.2.6
nbconvert not installed. Skipping notebooks.
Extension error:
Could not import extension nbsphinx (exception: lxml.html.clean module is now a separate project lxml_html_clean.
Install lxml[html_clean] or lxml_html_clean directly.)

Full log: https://salsa.debian.org/science-team/pandas/-/jobs/5538806

This probably makes nbconvert and nbsphinx fail to import at all, and started when lxml was upgraded to 5.2, but I haven't actually tested either of those:
https://sources.debian.org/src/nbconvert/6.5.3-4/nbconvert/exporters/templateexporter.py/?hl=25#L25
https://sources.debian.org/src/lxml/5.2.0-1/PKG-INFO/?hl=83#L83

The obvious fix would be to package lxml_html_clean.

Reply via email to