From e952cabe76360fac56ad67b484b779209474d790 2021-12-09 17:48:28 From: Matthias Bussonnier Date: 2021-12-09 17:48:28 Subject: [PATCH] remove proxy --- diff --git a/IPython/__init__.py b/IPython/__init__.py index 5df72f8..5d656e4 100644 --- a/IPython/__init__.py +++ b/IPython/__init__.py @@ -140,5 +140,12 @@ def start_kernel(argv=None, **kwargs): Any other kwargs will be passed to the Application constructor, such as `config`. """ - from IPython.kernel.zmq.kernelapp import launch_new_instance + import warnings + + warnings.warn( + "start_kernel is deprecated since IPython 8.0, use from `ipykernel.kernelapp.launch_new_instance`", + DeprecationWarning, + stacklevel=2, + ) + from ipykernel.kernelapp import launch_new_instance return launch_new_instance(argv=argv, **kwargs)