Opened 2 years ago

Last modified 23 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

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 2 years ago by egourgoulhon

  • Cc nthiery added
  • Description modified (diff)

comment:2 Changed 2 years ago by vbraun

  • Branch set to u/vbraun/nbconvert_broken_after_the_upgrade_to_jupyter_5_2_1

comment:3 Changed 2 years 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.