Source: nbconvert
Version: 6.5.3-4
Severity: serious
X-Debbugs-CC: pan...@packages.debian.org
Tags: sid trixie
User: debian...@lists.debian.org
Usertags: needs-update
Control: affects -1 src:pandoc

Dear maintainer(s),

With a recent upload of pandoc the autopkgtest of nbconvert fails in testing when that autopkgtest is run with the binary packages of pandoc from unstable. It passes when run with only packages from testing. In tabular form:

                       pass            fail
pandoc                 from testing    2.17.1.1+~git20230125+ds-1
nbconvert              from testing    6.5.3-4
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of pandoc to testing [1]. Of course, pandoc shouldn't just break your autopkgtest (or even worse, your package), but it seems to me that the change in pandoc was intended and your package needs to update to the new situation.

If this is a real problem in your package (and not only in your autopkgtest), the right binary package(s) from pandoc should really add a versioned Breaks on the unfixed version of (one of your) package(s). Note: the Breaks is nice even if the issue is only in the autopkgtest as it helps the migration software to figure out the right versions to combine in the tests.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=pandoc

https://ci.debian.net/data/autopkgtest/testing/amd64/n/nbconvert/40824350/log.gz

378s E /usr/lib/python3/dist-packages/nbconvert/utils/pandoc.py:51: RuntimeWarning: You are using an unsupported version of pandoc (3.0.1). 378s E Your version must be at least (1.12.1) but less than (3.0.0).
378s E           Refer to https://pandoc.org/installing.html.
378s E           Continuing with doubts...
378s E             check_pandoc_version()
378s E [NbConvertApp] Support files will be in notebook2_files/ 378s E [NbConvertApp] Making directory ./notebook2_files 378s E [NbConvertApp] Writing 2889 bytes to support file ./notebook2_files/notebook2_13_1.png 378s E [NbConvertApp] Making directory ./notebook2_files 378s E [NbConvertApp] Writing 74369 bytes to support file ./notebook2_files/notebook2_13_1.pdf 378s E [NbConvertApp] Writing 25528 bytes to notebook.tex
378s E           [NbConvertApp] Building PDF
378s E [NbConvertApp] Running xelatex 1 time: ['xelatex', 'notebook.tex', '-quiet'] 378s E [NbConvertApp] CRITICAL | xelatex failed: ['xelatex', 'notebook.tex', '-quiet']
378s E           
378s E           Traceback (most recent call last):
378s E File "<frozen runpy>", line 198, in _run_module_as_main
378s E             File "<frozen runpy>", line 88, in _run_code
378s E File "/usr/lib/python3/dist-packages/nbconvert/__main__.py", line 3, in <module>
378s E               main()
378s E File "/usr/lib/python3/dist-packages/jupyter_core/application.py", line 282, in launch_instance 378s E super().launch_instance(argv=argv, **kwargs) 378s E File "/usr/lib/python3/dist-packages/traitlets/config/application.py", line 982, in launch_instance
378s E               app.start()
378s E File "/usr/lib/python3/dist-packages/nbconvert/nbconvertapp.py", line 423, in start
378s E               self.convert_notebooks()
378s E File "/usr/lib/python3/dist-packages/nbconvert/nbconvertapp.py", line 597, in convert_notebooks 378s E self.convert_single_notebook(notebook_filename) 378s E File "/usr/lib/python3/dist-packages/nbconvert/nbconvertapp.py", line 560, in convert_single_notebook 378s E output, resources = self.export_single_notebook( 378s E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 378s E File "/usr/lib/python3/dist-packages/nbconvert/nbconvertapp.py", line 488, in export_single_notebook 378s E output, resources = self.exporter.from_filename( 378s E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 378s E File "/usr/lib/python3/dist-packages/nbconvert/exporters/exporter.py", line 189, in from_filename 378s E return self.from_file(f, resources=resources, **kw) 378s E ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 378s E File "/usr/lib/python3/dist-packages/nbconvert/exporters/exporter.py", line 206, in from_file
378s E               return self.from_notebook_node(
378s E                      ^^^^^^^^^^^^^^^^^^^^^^^^
378s E File "/usr/lib/python3/dist-packages/nbconvert/exporters/pdf.py", line 194, in from_notebook_node
378s E               self.run_latex(tex_file)
378s E File "/usr/lib/python3/dist-packages/nbconvert/exporters/pdf.py", line 164, in run_latex
378s E               return self.run_command(
378s E                      ^^^^^^^^^^^^^^^^^
378s E File "/usr/lib/python3/dist-packages/nbconvert/exporters/pdf.py", line 150, in run_command
378s E               raise raise_on_failure(
378s E nbconvert.exporters.pdf.LatexFailed: PDF creating failed, captured latex output: 378s E Failed to run "['xelatex', 'notebook.tex', '-quiet']" command:



Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to