Bug#1057949: nbconvert: needs update for new version of pandoc: PDF creating failed

2024-01-15 Thread Drew Parsons
Source: nbconvert
Version: 6.5.3-4
Followup-For: Bug #1057949

An nbconvert update (>= 7.6) is also needed to support the latest
version of pandoc 3.1.3. That is, to avoid the warning that pandoc
3.1.3 is "unsupported".

cf.
https://github.com/spatialaudio/nbsphinx/issues/750#issuecomment-1613973946



Bug#1057949: nbconvert: needs update for new version of pandoc: PDF creating failed

2023-12-10 Thread Jonas Smedegaard
Quoting Paul Gevers (2023-12-10 21:45:50)
> 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:
> 
> passfail
> pandoc from testing2.17.1.1+~git20230125+ds-1
> nbconvert  from testing6.5.3-4
> all others from testingfrom testing
> 
> I copied some of the output at the bottom of this report.
[...]
> 378s E 
> /usr/lib/python3/dist-packages/nbconvert/utils/pandoc.py:51: 
> RuntimeWarning: You are using an unsupported version of pandoc (3.0.1).

Pandoc is a library and an executable binary.  The package pandoc
version 2.17.1.1+~git20230125+ds-1 links against ghc-pandoc-dev version
3.0.1-3.

Yesterday, upstream agreed to change the versioning of the executable
binary to be in sync with the library - as was the case with 1.x and 2.x
releases.  I have just now released pandoc version 3.0.1-1.

Hope that helps.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/
 * Sponsorship: https://ko-fi.com/drjones

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

signature.asc
Description: signature


Bug#1057949: nbconvert: needs update for new version of pandoc: PDF creating failed

2023-12-10 Thread Paul Gevers

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:


   passfail
pandoc from testing2.17.1.1+~git20230125+ds-1
nbconvert  from testing6.5.3-4
all others from testingfrom 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 "", line 198, in 
_run_module_as_main

378s E File "", line 88, in _run_code
378s E File 
"/usr/lib/python3/dist-packages/nbconvert/__main__.py", line 3, in 


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