Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 612948 - dev-python/ipython-5.3.0[doc] must DEPEND on dev-python/ipykernel
Summary: dev-python/ipython-5.3.0[doc] must DEPEND on dev-python/ipykernel
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
: 622794 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-03-17 18:39 UTC by Andrey Grozin
Modified: 2019-05-13 16:47 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 Andrey Grozin gentoo-dev 2017-03-17 18:39:15 UTC
* python3_6: running distutils-r1_run_phase python_compile_all
make -j8 -C docs html_noapi 
make: Entering directory '/var/tmp/portage/dev-python/ipython-5.3.0/work/ipython-5.3.0-python3_6/docs'
rm -rf source/api/generated
python3 autogen_config.py
python3 autogen_magics.py
python3 autogen_shortcuts.py
Traceback (most recent call last):
  File "autogen_config.py", line 6, in <module>
    from ipykernel.kernelapp import IPKernelApp
ModuleNotFoundError: No module named 'ipykernel'
make: *** [Makefile:80: source/config/options/config-generated.txt] Error 1

Indeed, ipykernel is not yet installed for python-3.6. Trying to install it leads to

dns ~ # emerge -av1 ipykernel

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] dev-python/ipython-5.3.0::gentoo  USE="doc examples matplotlib mongodb nbconvert qt4 smp wxwidgets -notebook* {-test}" PYTHON_TARGETS="python2_7 python3_5 python3_6%* -python3_4" 0 KiB
[ebuild   R    ] dev-python/ipykernel-4.5.2::gentoo  USE="{-test}" PYTHON_TARGETS="python2_7 python3_5 python3_6%* -python3_4" 0 KiB
[ebuild   R    ] dev-python/notebook-4.4.1::gentoo  USE="-doc {-test}" PYTHON_TARGETS="python2_7 python3_5 python3_6%* -python3_4" 0 KiB
[ebuild   R    ] dev-python/ipyparallel-6.0.2::gentoo  USE="doc {-test}" PYTHON_TARGETS="python2_7 python3_5 python3_6%* -python3_4" 0 KiB

Total: 4 packages (4 reinstalls), Size of downloads: 0 KiB

Circular dependence?
Comment 1 Andrey Grozin gentoo-dev 2017-03-18 21:02:21 UTC
In python_compile_all, if use doc, emake -C docs html_noapi is called. docs/Makefile calls autogen_config.py, which wants to
from ipykernel.kernelapp import IPKernelApp
So, the long list in DEPEND
doc? ( ... )
must also include dev-python/ipykernel[${PYTHON_USEDEP}]
Comment 2 eroen 2017-06-27 00:14:56 UTC
*** Bug 622794 has been marked as a duplicate of this bug. ***
Comment 3 Virgil Dupras (RETIRED) gentoo-dev 2019-05-13 16:47:15 UTC
Old bug, but as of today, ipykernel is in ipython's doc? deps.