Upgrading ipykernel
5.3.4 seems to have fixed it for me.
pip install --upgrade ipykernel
Make sure to restart your Juptyer server afterwards.
I came up with this by inserting a breakpoint()
at /ipkernel.py:287
and using w
to see what was making the call. If this fix doesn’t work for you, worth checking what’s making the call in your case.