Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 831200

Summary: dev-python/ipykernel-6.6.1 won't install due to missing dependencies
Product: Gentoo Linux Reporter: Paul Preney <paul>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: paul
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Paul Preney 2022-01-14 16:31:30 UTC
The package dev-python/ipykernel-6.6.1 fails to install (Gentoo testing ~amd64) due to these missing dependencies:

  * dev-python/stack_data
  * dev-python/executing
  * dev-python/asttokens
  * dev-python/pure_eval

These missing dependencies appear in the Install phase as missing Python modules, e.g.,

  [snip]
  >>> Source compiled.
   * Skipping make test/check due to ebuild restriction.
  >>> Test phase [disabled because of RESTRICT=test]: dev-python/ipykernel-6.6.1

  >>> Install dev-python/ipykernel-6.6.1 into /var/tmp/portage/dev-python/ipykernel-6.6.1/image
   * python3_8: running distutils-r1_run_phase distutils-r1_python_install
  python3.8 setup.py install --skip-build --root=/var/tmp/portage/dev-python/ipykernel-6.6.1/image/_python3.8
  Traceback (most recent call last):
    File "setup.py", line 98, in <module>
      from ipykernel.kernelspec import write_kernel_spec, make_ipkernel_cmd, KERNEL_NAME
    File "/var/tmp/portage/dev-python/ipykernel-6.6.1/work/ipykernel-6.6.1/ipykernel/kernelspec.py", line 16, in <module>
      from .ipkernel import _is_debugpy_available
    File "/var/tmp/portage/dev-python/ipykernel-6.6.1/work/ipykernel-6.6.1/ipykernel/ipkernel.py", line 11, in <module>
      from IPython.core import release
    File "/usr/lib/python3.8/site-packages/IPython/__init__.py", line 51, in <module>
      from .core.application import Application
    File "/usr/lib/python3.8/site-packages/IPython/core/application.py", line 27, in <module>
      from IPython.core import release, crashhandler
    File "/usr/lib/python3.8/site-packages/IPython/core/crashhandler.py", line 28, in <module>
      from IPython.core import ultratb
    File "/usr/lib/python3.8/site-packages/IPython/core/ultratb.py", line 101, in <module>
      import stack_data
  ModuleNotFoundError: No module named 'stack_data'
  [snip]

with one ModuleNotFoundError listed per emerge of dev-python/ipykernel-6.6.1 (as one installs the missing modules). After the missing dependencies are installed dev-python/ipykernel-6.6.1 is successfully emerged.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-14 16:32:51 UTC
Please share emerge --info, it should be fixed with a --sync

*** This bug has been marked as a duplicate of bug 831187 ***