* 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?
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}]
*** Bug 622794 has been marked as a duplicate of this bug. ***
Old bug, but as of today, ipykernel is in ipython's doc? deps.