[Debian-med-packaging] Bug#1125277: emperor: autopkgtest failure with jupyter-notebook 7

Gordon Ball gordon at chronitis.net
Sun Jan 11 20:59:06 GMT 2026


Source: emperor
Version: 1.0.4+ds-2
Severity: normal
X-Debbugs-Cc: gordon at chronitis.net

jupyter-notebook 7 is now in experimental, and emperor shows
autopkgtest failures with this version.

The proximate issue is trying to install a nbextension by importing
a method which no longer exists:

=================================== FAILURES ===================================
_________________________ TopLevelTests.test_nbinstall _________________________

[...]

ImportError: cannot import name 'install_nbextension' from 'notebook' (/usr/lib/python3/dist-packages/notebook/__init__.py)


but the deeper issue here is that the "classic" nbextension mechanism is
no longer supported. It might be possible to continue to use it with
`nbclassic` instead of `notebook`, or alternatively if upstream ports
their extension to jupyterlab/notebook 7.



More information about the Debian-med-packaging mailing list