Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831832 - dev-python/notebook should depend on dev-python/jupyter_server
Summary: dev-python/notebook should depend on dev-python/jupyter_server
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
Depends on:
Reported: 2022-01-22 16:06 UTC by Thomas Pegeot
Modified: 2022-01-22 23:15 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

emerge --info (emergeinfo.log,7.48 KB, text/x-log)
2022-01-22 16:06 UTC, Thomas Pegeot

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Pegeot 2022-01-22 16:06:46 UTC
Created attachment 763262 [details]
emerge --info


I think that dev-python/notebook should depend on dev-python/jupyter_server.

Without dev-python/jupyter_server : 

thomas@gentoo pandas % jupyter notebook
[W 16:40:28.485 NotebookApp] Error loading server extension ipyparallel
    Traceback (most recent call last):
      File "/usr/lib/python3.9/site-packages/notebook/", line 2030, in init_server_extensions
      File "/usr/lib/python3.9/site-packages/ipyparallel/", line 91, in _load_jupyter_server_extension
        from .nbextension.handlers import load_jupyter_server_extension
      File "/usr/lib/python3.9/site-packages/ipyparallel/nbextension/", line 7, in <module>
        from jupyter_server.utils import url_path_join as ujoin
    ModuleNotFoundError: No module named 'jupyter_server'

With jupyter_server installed : 

thomas@gentoo pandas % jupyter notebook                           
[I 17:02:03.570 NotebookApp] Loading IPython parallel extension
[I 17:02:03.577 NotebookApp] Serving notebooks from local directory: /media/storage/dev/pandas
[I 17:02:03.577 NotebookApp] Jupyter Notebook 6.4.7 is running at:
[I 17:02:03.577 NotebookApp] http://localhost:8888/?token=4c2d29167d0dc332bdae96ba93fd75109a03a5eb73807003
[I 17:02:03.577 NotebookApp]  or
[I 17:02:03.577 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

Thank you

Comment 1 Larry the Git Cow gentoo-dev 2022-01-22 23:15:05 UTC
The bug has been closed via the following commit(s):

commit ae98396e398ebef534bc6542665dfb00b669a2a7
Author:     Sam James <>
AuthorDate: 2022-01-22 23:12:52 +0000
Commit:     Sam James <>
CommitDate: 2022-01-22 23:14:57 +0000

    dev-python/ipyparallel: add missing dev-python/jupyter_server dependency
    dev-python/notebook breaks otherwise.
    Signed-off-by: Sam James <>

 dev-python/ipyparallel/ipyparallel-8.1.0-r1.ebuild | 87 ++++++++++++++++++++++
 dev-python/ipyparallel/ipyparallel-8.1.0.ebuild    |  2 +-
 2 files changed, 88 insertions(+), 1 deletion(-)