Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 816486 - dev-python/ipykernel-5.5.4-r1 fails to install when jupyter_client not installed
Summary: dev-python/ipykernel-5.5.4-r1 fails to install when jupyter_client not installed
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: 2021-10-06 00:03 UTC by Jonathan Lovelace
Modified: 2021-10-06 03:38 UTC (History)
2 users (show)

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


Attachments
dev-python:ipykernel-5.5.4-r1:20211005-234026.log (dev-python:ipykernel-5.5.4-r1:20211005-234026.log,12.41 KB, text/x-log)
2021-10-06 00:03 UTC, Jonathan Lovelace
Details
emerge-info.txt (emerge-info.txt,7.38 KB, text/plain)
2021-10-06 00:03 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2021-10-06 00:03:19 UTC
Created attachment 743340 [details]
dev-python:ipykernel-5.5.4-r1:20211005-234026.log

When dev-python/jupyter_client is not installed (such as when both of them are scheduled to be built on a system on which neither of them is installed yet, and there's no -j option passed to emerge), the install phase of =dev-python/ipykernel-5.5.4-r1 fails:

python3.9 setup.py install --skip-build --root=/var/tmp/portage/dev-python/ipykernel-5.5.4-r1/image/_python3.9
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/ipykernel-5.5.4-r1/work/ipykernel-5.5.4/setup.py", line 115, in <module>
    from ipykernel.kernelspec import write_kernel_spec, make_ipkernel_cmd, KERNEL_NAME
  File "/var/tmp/portage/dev-python/ipykernel-5.5.4-r1/work/ipykernel-5.5.4/ipykernel/__init__.py", line 2, in <module>
    from .connect import *
  File "/var/tmp/portage/dev-python/ipykernel-5.5.4-r1/work/ipykernel-5.5.4/ipykernel/connect.py", line 16, in <module>
    import jupyter_client
ModuleNotFoundError: No module named 'jupyter_client'

It looks like the fix for bug #793782 was lost in a version bump?
Comment 1 Jonathan Lovelace 2021-10-06 00:03:44 UTC
Created attachment 743343 [details]
emerge-info.txt
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-06 03:36:48 UTC
Thanks as always, I think you've got it.
Comment 3 Larry the Git Cow gentoo-dev 2021-10-06 03:38:38 UTC
The bug has been closed via the following commit(s):

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

commit 7f8aed7564327d71284a11ae3b78d748be99b274
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-06 03:38:15 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-06 03:38:29 +0000

    dev-python/ipykernel: include RDEPEND in BDEPEND
    
    Seems to be specifically needed here.
    
    Closes: https://bugs.gentoo.org/816486
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/ipykernel/ipykernel-5.5.4-r1.ebuild | 3 +++
 dev-python/ipykernel/ipykernel-6.2.0.ebuild    | 3 +++
 2 files changed, 6 insertions(+)