jupyter_server-2 requires jupyter_core 5.1, see https://github.com/jupyter-server/jupyter_server/pull/1093. Reproducible: Always Steps to Reproduce: 1. Install jupyter_server-2 without unmasking the (currently ~amd64) jupyter_core-5.1, will install 5.0 2. Run `jupyter lab` or `jupyter notebook` Actual Results: Raises an error: Traceback (most recent call last): File "/usr/lib/python-exec/python3.10/jupyter-lab", line 5, in <module> from jupyterlab.labapp import main File "/usr/lib/python3.10/site-packages/jupyterlab/__init__.py", line 7, in <module> from .serverextension import load_jupyter_server_extension File "/usr/lib/python3.10/site-packages/jupyterlab/serverextension.py", line 1, in <module> from jupyter_server.utils import url_path_join File "/usr/lib/python3.10/site-packages/jupyter_server/utils.py", line 23, in <module> from jupyter_core.utils import ensure_async ImportError: cannot import name 'ensure_async' from 'jupyter_core.utils' (/usr/lib/python3.10/site-packages/jupyter_core/utils/__init__.py) Expected Results: Starts up.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a098920f1e5a7945ba87bd4e59f177a03dc2b7c1 commit a098920f1e5a7945ba87bd4e59f177a03dc2b7c1 Author: Andrew Ammerlaan <andrewammerlaan@gentoo.org> AuthorDate: 2022-12-30 11:35:14 +0000 Commit: Andrew Ammerlaan <andrewammerlaan@gentoo.org> CommitDate: 2022-12-30 11:35:14 +0000 dev-python/jupyter_server: require core >= 5.1 for server >=2 Closes: https://bugs.gentoo.org/888865 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org> .../{jupyter_server-2.0.6.ebuild => jupyter_server-2.0.6-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)