#1125279 nbclassic: compatibility with jupyter-notebook 7

#1125279#5
Date:
2026-01-11 21:05:56 UTC
From:
To:
jupyter-notebook 7 is now in experimental, which would break the current
nbclassic package (since it relies on the browser assets built by
jupyter-notebook 6).

I think in principle the solution is to upgrade to >= 0.4, at which
point nbclassic no longer depends on notebook, which will presumably
require porting over all the hacks currently required to build
jupyter-notebook 6.

#1125279#10
Date:
2026-01-11 21:40:41 UTC
From:
To:
Hi,

Interesting !

I was peeking today over
https://qa.debian.org/excuses.php?experimental=1&package=jupyter-notebook
and updated the other package instead: emperor.

"emperor" is still explicitly not compatible with jnb 7;
but at least that reduces the delta and get us
rid of one more python3-pkg-resources dependency.

Greetings

#1125279#21
Date:
2026-09-29 16:06:40 UTC
From:
To:
user debian-python@lists.debian.org
usertags 1125279 python3.15
thanks

Hi!

While rebuilding the python related packages against the Python 3.15
version we ran into this FTBFS:
https://debusine.debian.net/debian/r-python-python3.15/artifact/4856510/

It's also failing to build in the reproducible builds infrastructure:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/nbclassic.html

This seems to be the error:

ImportError while loading conftest
'/build/reproducible-path/nbclassic-0.3.2/.pybuild/cpython3_3.14_nbclassic/build/tests/conftest.py'.
tests/conftest.py:5: in <module>
     from nbclassic.notebookapp import NotebookApp
nbclassic/__init__.py:1: in <module>
     from .notebookapp import NotebookApp
nbclassic/notebookapp.py:20: in <module>
     from notebook import (
E   ImportError: cannot import name 'DEFAULT_STATIC_FILES_PATH' from
'notebook' (/usr/lib/python3/dist-packages/notebook/__init__.py)

Please consider looking into this to get this package back in a healthy
state.