diff --git a/ipykernel/comm/manager.py b/ipykernel/comm/manager.py index f1ef1f93c..bf63838e3 100644 --- a/ipykernel/comm/manager.py +++ b/ipykernel/comm/manager.py @@ -8,7 +8,7 @@ from traitlets.config import LoggingConfigurable -from ipython_genutils.importstring import import_item +from traitlets.utils.importstring import import_item from traitlets import Instance, Unicode, Dict, Any, default from .comm import Comm diff --git a/ipykernel/kernelapp.py b/ipykernel/kernelapp.py index 7bf4a54ba..ff2fdfd90 100644 --- a/ipykernel/kernelapp.py +++ b/ipykernel/kernelapp.py @@ -29,7 +29,7 @@ from traitlets import ( Any, Instance, Dict, Unicode, Integer, Bool, DottedObjectName, Type, default ) -from ipython_genutils.importstring import import_item +from traitlets.utils.importstring import import_item from jupyter_core.paths import jupyter_runtime_dir from jupyter_client import write_connection_file from jupyter_client.connect import ConnectionFileMixin diff --git a/ipykernel/pickleutil.py b/ipykernel/pickleutil.py index c0dd4a807..651df1f3c 100644 --- a/ipykernel/pickleutil.py +++ b/ipykernel/pickleutil.py @@ -14,7 +14,7 @@ import pickle from types import FunctionType -from ipython_genutils.importstring import import_item +from traitlets.utils.importstring import import_item from ipython_genutils.py3compat import buffer_to_bytes # This registers a hook when it's imported