xonsh / xontrib-jupyter

Xonsh jupyter kernel allows to run Xonsh shell code in Jupyter, JupyterLab, Euporia, etc.
MIT License
32 stars 4 forks source link

Fix DeprecationWarning zmq in JupyterLab #15

Open anki-code opened 1 year ago

anki-code commented 1 year ago

Just see in log JupyterLab:

/opt/homebrew/lib/python3.11/site-packages/xonsh_jupyter/kernel.py:21: 
DeprecationWarning: zmq.eventloop.ioloop is deprecated in pyzmq 17. pyzmq now works with default tornado and asyncio eventloops.
  from zmq.eventloop import ioloop, zmqstream

/opt/homebrew/lib/python3.11/site-packages/tornado/ioloop.py:265: 
DeprecationWarning: There is no current event loop
  loop = asyncio.get_event_loop()
xpip list | grep jupyter
jupyter                       1.0.0
jupyter_client                8.0.3
jupyter-console               6.6.3
jupyter_core                  5.3.0
jupyter-events                0.6.3
jupyter_server                2.5.0
jupyter_server_fileid         0.8.0
jupyter_server_terminals      0.4.4
jupyter_server_ydoc           0.8.0
jupyter-ydoc                  0.2.3
jupyterlab                    3.6.2
jupyterlab-pygments           0.2.2
jupyterlab_server             2.20.0
jupyterlab-widgets            3.0.5
xontrib-jupyter-shell         0.2.0

For community

⬇️ Please click the 👍 reaction instead of leaving a +1 or 👍 comment