I ran into this today running [email protected]
on Ubuntu 22. Upgrading with pip install --upgrade ipykernel
seemed to resolve this issue.
This other SO post about should_run_async()
deprecation warnings was also helpful in identifying this as a versioning issue.