Opened 21 months ago

Last modified 18 months ago

#24484 closed defect

nbconvert broken after the upgrade to Jupyter 5.2.1 — at Version 3

Reported by: egourgoulhon Owned by:
Priority: blocker Milestone: sage-8.2
Component: packages: standard Keywords: jupyter, nbconvert
Cc: nthiery, slelievre, embray Merged in:
Authors: Reviewers:
Report Upstream: N/A Work issues:
Branch: u/vbraun/nbconvert_broken_after_the_upgrade_to_jupyter_5_2_1 (Commits) Commit: 7802a3fbb92d6a8f2f4f0117e454635e6d0536e8
Dependencies: Stopgaps:

Description (last modified by slelievre)

After the upgrade to Jupyter 5.2.1 implemented in #24168 (merged in Sage 8.2.beta0), the export of a notebook to another format fails, whatever the format. For instance, clicking on File -> Download as -> PDF via LaTeX leads to

500 : Internal Server Error

The error was:

Could not import nbconvert: No module named base

This was reported in https://groups.google.com/d/msg/sage-devel/Qsf9Gb4pDt4/vIORrWIABwAJ

This ticket fixes this as follows:

  • upgrade to nbconvert 5.3.1 (from 4.2.0)
  • add testpath 0.3.1 and make it standard
  • upgrade to pandocfilters 1.4.2 (from 1.3.0) and make it standard (from optional)
  • add nbconvert dependencies: pandocfilters, testpath

Change History (3)

comment:1 Changed 21 months ago by egourgoulhon

  • Cc nthiery added
  • Description modified (diff)

comment:2 Changed 21 months ago by vbraun

  • Branch set to u/vbraun/nbconvert_broken_after_the_upgrade_to_jupyter_5_2_1

comment:3 Changed 21 months ago by slelievre

  • Cc slelievre added
  • Commit set to 7802a3fbb92d6a8f2f4f0117e454635e6d0536e8
  • Description modified (diff)

Adding outline of the fix to ticket description.


New commits:

7802a3fUpdate nbconvert and add new dependencies
Note: See TracTickets for help on using tickets.