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

Bug 576088

Summary: circular dependency between dev-python/qtconsole and dev-python/ipython
Product: Gentoo Linux Reporter: François Bissey <frp.bissey>
Component: [OLD] DevelopmentAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: frp.bissey, jlec, sci
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description François Bissey 2016-03-01 10:21:26 UTC
When emerging ipython with the qt4 useflag there is a circular dependency:
 * Error: circular dependencies:

(dev-python/qtconsole-4.2.0:0/0::gentoo, ebuild scheduled for merge) depends on
 (dev-python/ipykernel-4.3.0:0/0::gentoo, ebuild scheduled for merge) (buildtime)
  (dev-python/ipython-4.0.3:0/0::gentoo, ebuild scheduled for merge) (buildtime)
   (dev-python/qtconsole-4.2.0:0/0::gentoo, ebuild scheduled for merge) (runtime)

It might be possible to break this cycle
by applying the following change:
- dev-python/ipython-4.0.3 (Change USE: -qt4)


It could be broken by initially emerging ipython without qt4 but it could be solved at the ebuild level by moving qtconsole from RDEPEND to PDEPEND (as was done before for ipyparallel for exactly the same reasons).

Reproducible: Always
Comment 1 François Bissey 2016-03-01 10:22:35 UTC
Moving qtconsole from RDEPEND to PDEPEND in the ipython ebuild I meant. This applies to all ipython-4.* ebuilds.
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2016-03-02 20:48:03 UTC
commit b3504dd7a88a7c23833de1cf1037e5d8f6e968a4
Author: Justin Lecher <jlec@gentoo.org>
Date:   Wed Mar 2 20:11:41 2016 +0000

    dev-python/ipython: Break circular dependency with dev-python/qtconsole

    Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=576088

    Signed-off-by: Justin Lecher <jlec@gentoo.org>

    https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3504dd7a88a7c23833de1cf1037e5d8f6e968a4