slackbuilds_ponce/development/jupyterlab/no-nbclassic.patch
Isaac Yu 50beadcc03
development/jupyterlab: Added (Jupyter next-gen user interface)
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2022-04-30 13:51:59 +07:00

15 lines
627 B
Diff

This patch was taken from Arch Linux repositories:
https://github.com/archlinux/svntogit-community/blob/packages/jupyterlab/trunk/no-nbclassic.patch
diff --git a/jupyterlab/labapp.py b/jupyterlab/labapp.py
index 1eb56b22fe..5a401a0fdf 100644
--- a/jupyterlab/labapp.py
+++ b/jupyterlab/labapp.py
@@ -19,7 +19,7 @@ from jupyterlab_server import (
WorkspaceImportApp,
WorkspaceListApp,
)
-from nbclassic.shim import NBClassicConfigShimMixin
+from notebook_shim.shim import NotebookConfigShimMixin as NBClassicConfigShimMixin
from traitlets import Bool, Instance, Unicode, default
from ._version import __version__