Bug#1002382: nbsphinx: FTBFS: AttributeError: module 'mistune' has no attribute 'BlockGrammar'

2022-05-28 Thread Dmitry Shachnev
Control: reassign -1 src:nbconvert 6.1.0-1
Control: unarchive 1002372
Control: forcemerge 1002372 -1
Control: archive 1002372

On Wed, Dec 22, 2021 at 09:05:08AM +0100, Lucas Nussbaum wrote:
> Source: nbsphinx
> Version: 0.8.7+ds-1
> Severity: serious
> Justification: FTBFS
> Tags: bookworm sid ftbfs
> User: lu...@debian.org
> Usertags: ftbfs-20211220 ftbfs-bookworm
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
>
> Relevant part (hopefully):
> > make[1]: Entering directory '/<>'
> > PYTHONPATH=/<>/src python3 -m sphinx -b html doc 
> > /<>/debian/python-nbsphinx-doc/usr/share/doc/python-nbsphinx/html
> > Running Sphinx v4.3.2
> > 
> > Exception occurred:
> >   File 
> > "/usr/lib/python3/dist-packages/nbconvert/filters/markdown_mistune.py", 
> > line 31, in 
> > class MathBlockGrammar(mistune.BlockGrammar):
> > AttributeError: module 'mistune' has no attribute 'BlockGrammar'

It is a bug in nbconvert, same as #1002372. And already fixed.

--
Dmitry Shachnev


signature.asc
Description: PGP signature


Bug#1002382: nbsphinx: FTBFS: AttributeError: module 'mistune' has no attribute 'BlockGrammar'

2021-12-22 Thread Lucas Nussbaum
Source: nbsphinx
Version: 0.8.7+ds-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20211220 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<>'
> PYTHONPATH=/<>/src python3 -m sphinx -b html doc 
> /<>/debian/python-nbsphinx-doc/usr/share/doc/python-nbsphinx/html
> Running Sphinx v4.3.2
> 
> Exception occurred:
>   File 
> "/usr/lib/python3/dist-packages/nbconvert/filters/markdown_mistune.py", line 
> 31, in 
> class MathBlockGrammar(mistune.BlockGrammar):
> AttributeError: module 'mistune' has no attribute 'BlockGrammar'
> The full traceback has been saved in /tmp/sphinx-err-kasfo43b.log, if you 
> want to report the issue to the developers.
> Please also report this if it was a user error, so that a better error 
> message can be provided next time.
> A bug report can be filed in the tracker at 
> . Thanks!
> make[1]: *** [debian/rules:20: override_dh_sphinxdoc] Error 2


The full build log is available from:
http://qa-logs.debian.net/2021/12/20/nbsphinx_0.8.7+ds-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.