Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 626110 - dev-python/ipython [notebook] triggers circular dependencies
Summary: dev-python/ipython [notebook] triggers circular dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL: https://github.com/cschwan/sage-on-ge...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-24 23:27 UTC by François Bissey
Modified: 2017-09-04 15:05 UTC (History)
2 users (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 François Bissey 2017-07-24 23:27:05 UTC
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
Comment 1 Hendrik v. Raven 2017-08-03 21:06:56 UTC
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.
Comment 2 Larry the Git Cow gentoo-dev 2017-09-04 15:05:56 UTC
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(-)