diff options
author | robot-contrib <robot-contrib@yandex-team.ru> | 2022-05-18 00:43:36 +0300 |
---|---|---|
committer | robot-contrib <robot-contrib@yandex-team.ru> | 2022-05-18 00:43:36 +0300 |
commit | 9e5f436a8b2a27bcc7802e443ea3ef3e41a82a75 (patch) | |
tree | 78b522cab9f76336e62064d4d8ff7c897659b20e /contrib/python/ipython/py3/IPython/kernel | |
parent | 8113a823ffca6451bb5ff8f0334560885a939a24 (diff) | |
download | ydb-9e5f436a8b2a27bcc7802e443ea3ef3e41a82a75.tar.gz |
Update contrib/python/ipython/py3 to 8.3.0
ref:e84342d4d30476f9148137f37fd0c6405fd36f55
Diffstat (limited to 'contrib/python/ipython/py3/IPython/kernel')
16 files changed, 0 insertions, 53 deletions
diff --git a/contrib/python/ipython/py3/IPython/kernel/__init__.py b/contrib/python/ipython/py3/IPython/kernel/__init__.py deleted file mode 100644 index 70a05ed4aa5..00000000000 --- a/contrib/python/ipython/py3/IPython/kernel/__init__.py +++ /dev/null @@ -1,35 +0,0 @@ -""" -Shim to maintain backwards compatibility with old IPython.kernel imports. -""" -# Copyright (c) IPython Development Team. -# Distributed under the terms of the Modified BSD License. - -import sys -from warnings import warn - -from IPython.utils.shimmodule import ShimModule, ShimWarning - -warn("The `IPython.kernel` package has been deprecated since IPython 4.0." - "You should import from ipykernel or jupyter_client instead.", ShimWarning) - - -# zmq subdir is gone -sys.modules['IPython.kernel.zmq.session'] = ShimModule( - src='IPython.kernel.zmq.session', mirror='jupyter_client.session') -sys.modules['IPython.kernel.zmq'] = ShimModule( - src='IPython.kernel.zmq', mirror='ipykernel') - -for pkg in ('comm', 'inprocess'): - src = 'IPython.kernel.%s' % pkg - sys.modules[src] = ShimModule(src=src, mirror='ipykernel.%s' % pkg) - -for pkg in ('ioloop', 'blocking'): - src = 'IPython.kernel.%s' % pkg - sys.modules[src] = ShimModule(src=src, mirror='jupyter_client.%s' % pkg) - -# required for `from IPython.kernel import PKG` -from ipykernel import comm, inprocess -from jupyter_client import ioloop, blocking -# public API -from ipykernel.connect import * -from jupyter_client import * diff --git a/contrib/python/ipython/py3/IPython/kernel/__main__.py b/contrib/python/ipython/py3/IPython/kernel/__main__.py deleted file mode 100644 index d1f0cf53340..00000000000 --- a/contrib/python/ipython/py3/IPython/kernel/__main__.py +++ /dev/null @@ -1,3 +0,0 @@ -if __name__ == '__main__': - from ipykernel import kernelapp as app - app.launch_new_instance() diff --git a/contrib/python/ipython/py3/IPython/kernel/adapter.py b/contrib/python/ipython/py3/IPython/kernel/adapter.py deleted file mode 100644 index 3b8c046b2d1..00000000000 --- a/contrib/python/ipython/py3/IPython/kernel/adapter.py +++ /dev/null @@ -1 +0,0 @@ -from jupyter_client.adapter import * diff --git a/contrib/python/ipython/py3/IPython/kernel/channels.py b/contrib/python/ipython/py3/IPython/kernel/channels.py deleted file mode 100644 index 8c7fe2a0630..00000000000 --- a/contrib/python/ipython/py3/IPython/kernel/channels.py +++ /dev/null @@ -1 +0,0 @@ -from jupyter_client.channels import * diff --git a/contrib/python/ipython/py3/IPython/kernel/channelsabc.py b/contrib/python/ipython/py3/IPython/kernel/channelsabc.py deleted file mode 100644 index 88944012d44..00000000000 --- a/contrib/python/ipython/py3/IPython/kernel/channelsabc.py +++ /dev/null @@ -1 +0,0 @@ -from jupyter_client.channelsabc import * diff --git a/contrib/python/ipython/py3/IPython/kernel/client.py b/contrib/python/ipython/py3/IPython/kernel/client.py deleted file mode 100644 index a98690b74cc..00000000000 --- a/contrib/python/ipython/py3/IPython/kernel/client.py +++ /dev/null @@ -1 +0,0 @@ -from jupyter_client.client import * diff --git a/contrib/python/ipython/py3/IPython/kernel/clientabc.py b/contrib/python/ipython/py3/IPython/kernel/clientabc.py deleted file mode 100644 index e0cf06c9420..00000000000 --- a/contrib/python/ipython/py3/IPython/kernel/clientabc.py +++ /dev/null @@ -1 +0,0 @@ -from jupyter_client.clientabc import * diff --git a/contrib/python/ipython/py3/IPython/kernel/connect.py b/contrib/python/ipython/py3/IPython/kernel/connect.py deleted file mode 100644 index 5b6d40a5d34..00000000000 --- a/contrib/python/ipython/py3/IPython/kernel/connect.py +++ /dev/null @@ -1,2 +0,0 @@ -from ipykernel.connect import * -from jupyter_client.connect import * diff --git a/contrib/python/ipython/py3/IPython/kernel/kernelspec.py b/contrib/python/ipython/py3/IPython/kernel/kernelspec.py deleted file mode 100644 index 123419b2f54..00000000000 --- a/contrib/python/ipython/py3/IPython/kernel/kernelspec.py +++ /dev/null @@ -1 +0,0 @@ -from jupyter_client.kernelspec import * diff --git a/contrib/python/ipython/py3/IPython/kernel/kernelspecapp.py b/contrib/python/ipython/py3/IPython/kernel/kernelspecapp.py deleted file mode 100644 index 28cd33abd35..00000000000 --- a/contrib/python/ipython/py3/IPython/kernel/kernelspecapp.py +++ /dev/null @@ -1 +0,0 @@ -from jupyter_client.kernelspecapp import * diff --git a/contrib/python/ipython/py3/IPython/kernel/launcher.py b/contrib/python/ipython/py3/IPython/kernel/launcher.py deleted file mode 100644 index 1953bc4809e..00000000000 --- a/contrib/python/ipython/py3/IPython/kernel/launcher.py +++ /dev/null @@ -1 +0,0 @@ -from jupyter_client.launcher import * diff --git a/contrib/python/ipython/py3/IPython/kernel/manager.py b/contrib/python/ipython/py3/IPython/kernel/manager.py deleted file mode 100644 index c88097cff64..00000000000 --- a/contrib/python/ipython/py3/IPython/kernel/manager.py +++ /dev/null @@ -1 +0,0 @@ -from jupyter_client.manager import * diff --git a/contrib/python/ipython/py3/IPython/kernel/managerabc.py b/contrib/python/ipython/py3/IPython/kernel/managerabc.py deleted file mode 100644 index 6b40827ff88..00000000000 --- a/contrib/python/ipython/py3/IPython/kernel/managerabc.py +++ /dev/null @@ -1 +0,0 @@ -from jupyter_client.managerabc import * diff --git a/contrib/python/ipython/py3/IPython/kernel/multikernelmanager.py b/contrib/python/ipython/py3/IPython/kernel/multikernelmanager.py deleted file mode 100644 index ce576e27eaf..00000000000 --- a/contrib/python/ipython/py3/IPython/kernel/multikernelmanager.py +++ /dev/null @@ -1 +0,0 @@ -from jupyter_client.multikernelmanager import * diff --git a/contrib/python/ipython/py3/IPython/kernel/restarter.py b/contrib/python/ipython/py3/IPython/kernel/restarter.py deleted file mode 100644 index dc24117c3ad..00000000000 --- a/contrib/python/ipython/py3/IPython/kernel/restarter.py +++ /dev/null @@ -1 +0,0 @@ -from jupyter_client.restarter import * diff --git a/contrib/python/ipython/py3/IPython/kernel/threaded.py b/contrib/python/ipython/py3/IPython/kernel/threaded.py deleted file mode 100644 index 4a1072f7fe3..00000000000 --- a/contrib/python/ipython/py3/IPython/kernel/threaded.py +++ /dev/null @@ -1 +0,0 @@ -from jupyter_client.threaded import * |