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
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
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: ---


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

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

Hello,

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/notebookapp.py", line 2030, in init_server_extensions
        func(self)
      File "/usr/lib/python3.9/site-packages/ipyparallel/__init__.py", line 91, in _load_jupyter_server_extension
        from .nbextension.handlers import load_jupyter_server_extension
      File "/usr/lib/python3.9/site-packages/ipyparallel/nbextension/handlers.py", 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 http://127.0.0.1:8888/?token=4c2d29167d0dc332bdae96ba93fd75109a03a5eb73807003
[I 17:02:03.577 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).


Thank you

Thomas
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):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae98396e398ebef534bc6542665dfb00b669a2a7

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

    dev-python/ipyparallel: add missing dev-python/jupyter_server dependency
    
    dev-python/notebook breaks otherwise.
    
    Closes: https://bugs.gentoo.org/831832
    Signed-off-by: Sam James <sam@gentoo.org>

 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(-)