From e0e3e1717e3d33762ce61950504f9637a6e669ed Mon Sep 17 00:00:00 2001 From: nkozlovskiy <nmk@ydb.tech> Date: Fri, 29 Sep 2023 12:24:06 +0300 Subject: add ydb deps --- contrib/python/ipython/py2/IPython/consoleapp.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 contrib/python/ipython/py2/IPython/consoleapp.py (limited to 'contrib/python/ipython/py2/IPython/consoleapp.py') diff --git a/contrib/python/ipython/py2/IPython/consoleapp.py b/contrib/python/ipython/py2/IPython/consoleapp.py new file mode 100644 index 0000000000..14903bdc74 --- /dev/null +++ b/contrib/python/ipython/py2/IPython/consoleapp.py @@ -0,0 +1,12 @@ +""" +Shim to maintain backwards compatibility with old IPython.consoleapp imports. +""" +# Copyright (c) IPython Development Team. +# Distributed under the terms of the Modified BSD License. + +from warnings import warn + +warn("The `IPython.consoleapp` package has been deprecated. " + "You should import from jupyter_client.consoleapp instead.") + +from jupyter_client.consoleapp import * -- cgit v1.2.3