I have regular issue report in sage-on-gentoo where ipython needs to installed with the notebook useflag - see attached URL for example. The main point is * Error: circular dependencies: (dev-python/notebook-4.4.1:0/0::gentoo, ebuild scheduled for merge) depends on (dev-python/ipykernel-4.6.1:0/0::gentoo, ebuild scheduled for merge) (buildtime) (dev-python/ipython-5.3.0-r1:0/0::calculate, ebuild scheduled for merge) (buildtime) (dev-python/notebook-4.4.1:0/0::gentoo, ebuild scheduled for merge) (runtime) The work around is to emerge ipython without any useflags first and then rebuild it with desired useflags. A better way would be for `dev-python/notebook` to be moved to `PDEPEND` like the other options (qt4, qt5, smp) it is probably safe to assume that the nbconvert option should also be moved to `PDEPEND`. Reproducible: Always
I've created a pull request moving the conditional dep for USE=notebook to PDEPEND: https://github.com/gentoo/gentoo/pull/5287 Tested it with nbconvert but that seems to be fine in RDEPEND.
Bug has been closed via the following commit: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0183d0bb80befc50c7d6bf44e59bceecb73cb1da commit 0183d0bb80befc50c7d6bf44e59bceecb73cb1da Author: Hendrik v. Raven <hendrik@consetetur.de> AuthorDate: 2017-08-03 21:02:00 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2017-09-04 15:04:14 +0000 dev-python/ipython: break circular deps with USE=notebook circular dependencies are still present with USE=test, but this appears to be unsolvable. Closes: https://bugs.gentoo.org/626110 Closes: https://github.com/gentoo/gentoo/pull/5287 Package-Manager: Portage-2.3.6, Repoman-2.3.3 dev-python/ipython/ipython-5.3.0.ebuild | 8 ++++---- dev-python/ipython/ipython-5.4.1.ebuild | 8 ++++---- dev-python/ipython/ipython-6.1.0.ebuild | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-)