Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 888865 - dev-python/jupyter_server-2 requires dev-python/jupyter_core-5.1
Summary: dev-python/jupyter_server-2 requires dev-python/jupyter_core-5.1
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-12-29 12:47 UTC by Benedikt Reinartz
Modified: 2022-12-30 11:37 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benedikt Reinartz 2022-12-29 12:47:57 UTC
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.
Comment 1 Larry the Git Cow gentoo-dev 2022-12-30 11:37:56 UTC
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(-)