Package: python3-nbconvert Version: 6.1.0-1 Severity: serious Justification: FTBFS Control: affects -1 src:mistune
setup.py for nbconvert declares the requirement 'mistune>=0.8.1,<2' The upper bound is not enforecd in the debian packaging. In this case it actually matters. mistune 2.0.0 has just been uploaded, and nbconvert fails against it, e.g. debci https://ci.debian.net/data/autopkgtest/testing/amd64/n/nbconvert/17364189/log.gz or using sphinx to build docs e.g. rebuilding nbconvert: debian/rules override_dh_sphinxdoc make[1]: Entering directory '/home/drew/projects/python/build/nbconvert-6.1.0' PYTHONPATH=. python3 -m sphinx -b html docs/source debian/python-nbconvert-doc/usr/share/doc/python-nbconvert-doc/html Running Sphinx v4.3.1 Configuration error: There is a programmable error in your configuration file: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/sphinx/config.py", line 329, in eval_config_file exec(code, namespace) File "/projects/python/build/nbconvert-6.1.0/docs/source/conf.py", line 25, in <module> exec(compile(f.read(), 'autogen_config.py', 'exec'), {}) File "autogen_config.py", line 11, in <module> File "/projects/python/build/nbconvert-6.1.0/nbconvert/__init__.py", line 4, in <module> from .exporters import * File "/projects/python/build/nbconvert-6.1.0/nbconvert/exporters/__init__.py", line 3, in <module> from .html import HTMLExporter File "/projects/python/build/nbconvert-6.1.0/nbconvert/exporters/html.py", line 18, in <module> from nbconvert.filters.highlight import Highlight2HTML File "/projects/python/build/nbconvert-6.1.0/nbconvert/filters/__init__.py", line 6, in <module> from .markdown import * File "/projects/python/build/nbconvert-6.1.0/nbconvert/filters/markdown.py", line 13, in <module> from .markdown_mistune import markdown2html_mistune File "/projects/python/build/nbconvert-6.1.0/nbconvert/filters/markdown_mistune.py", line 31, in <module> class MathBlockGrammar(mistune.BlockGrammar): AttributeError: module 'mistune' has no attribute 'BlockGrammar' make[1]: *** [debian/rules:26: override_dh_sphinxdoc] Error 2 So nbconvert FTBFS. Marking Severity: serious for that reason. -- System Information: Debian Release: bookworm/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.15.0-2-amd64 (SMP w/8 CPU threads) Kernel taint flags: TAINT_OOT_MODULE Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.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 python3-nbconvert depends on: ii python3 3.9.8-1 ii python3-bleach 4.1.0-1 ii python3-defusedxml 0.7.1-1 ii python3-entrypoints 0.3-9 ii python3-jinja2 3.0.1-2 ii python3-jupyter-core 4.9.1-1 ii python3-jupyterlab-pygments 0.1.2-7 ii python3-mistune 2.0.0-1 ii python3-nbclient 0.5.6-2 ii python3-nbformat 5.1.3-1 ii python3-pandocfilters 1.5.0-1 ii python3-pygments 2.7.1+dfsg-2.1 ii python3-testpath 0.5.0+dfsg-1 ii python3-traitlets 5.1.1-1 Versions of packages python3-nbconvert recommends: ii pandoc 2.9.2.1-1+b2 ii python3-jupyter-client 7.1.0-1 Versions of packages python3-nbconvert suggests: pn python-nbconvert-doc <none> ii texlive-fonts-recommended 2021.20211127-1 ii texlive-plain-generic 2021.20211127-1 ii texlive-xetex 2021.20211127-1 -- no debconf information