Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 630786 - dev-python/qtconsole prefers dev-python/pyside and tries to pull in Qt4
Summary: dev-python/qtconsole prefers dev-python/pyside and tries to pull in Qt4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-12 08:23 UTC by Mike Lothian
Modified: 2017-11-23 23:11 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 Mike Lothian 2017-09-12 08:23:53 UTC
I was trying to emerge ansible and it kept trying to bring in Qt4 despite me hard masking it

Seems qtconsole has the following dependency

    || (
        dev-python/pyside[${PYTHON_USEDEP},svg]
        dev-python/PyQt5[${PYTHON_USEDEP},svg]
        dev-python/PyQt4[${PYTHON_USEDEP},svg]
    )

This prefers pyside and tries to pull in Qt4, is there a better way of splitting this up? Perhaps with qt4/5 use flags
Comment 1 Michael Palimaka (kensington) gentoo-dev 2017-09-12 13:35:51 UTC
Portage prefers the left-most option by default, so it shouldn't try to pull in pyside if you hard masked it (or did you just hard mask qt4 itself?)

At a minimum, I'd suggest we reorder that clause to prefer PyQt5. I certainly won't complain if someone removes the Qt 4 pyside/PyQt4 options though.
Comment 2 Mike Lothian 2017-09-12 20:53:50 UTC
I didn't hard mask no, it took a while for me to figure out what what pulling it in though. I wrongly suspected packages with qt4 in them as portage kept trying to add qt4 use flags to phonon in my package.use 

Ansible was pulling in 80+ packages
Comment 3 Mike Lothian 2017-09-12 20:54:17 UTC
Just to me clear I had -qt4 in my make.conf
Comment 4 Larry the Git Cow gentoo-dev 2017-09-13 12:07:06 UTC
The bug has been closed via the following commit(s):

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

commit f6f4fb102fc8fc1566475bdba737fe2a98b614a7
Author:     Michael Palimaka <kensington@gentoo.org>
AuthorDate: 2017-09-13 12:06:35 +0000
Commit:     Michael Palimaka <kensington@gentoo.org>
CommitDate: 2017-09-13 12:06:54 +0000

    dev-python/qtconsole: avoid pulling in deprecated Qt 4
    
    Closes: https://bugs.gentoo.org/630786
    Package-Manager: Portage-2.3.6, Repoman-2.3.3

 dev-python/qtconsole/qtconsole-4.3.0.ebuild | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)
Comment 5 Larry the Git Cow gentoo-dev 2017-09-13 12:24:42 UTC
The bug has been closed via the following commit(s):

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

commit f6f4fb102fc8fc1566475bdba737fe2a98b614a7
Author:     Michael Palimaka <kensington@gentoo.org>
AuthorDate: 2017-09-13 12:06:35 +0000
Commit:     Michael Palimaka <kensington@gentoo.org>
CommitDate: 2017-09-13 12:06:54 +0000

    dev-python/qtconsole: avoid pulling in deprecated Qt 4
    
    Closes: https://bugs.gentoo.org/630786
    Package-Manager: Portage-2.3.6, Repoman-2.3.3

 dev-python/qtconsole/qtconsole-4.3.0.ebuild | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)
Comment 6 Larry the Git Cow gentoo-dev 2017-11-23 23:11:21 UTC
The bug has been referenced in the following commit(s):

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

commit 9fbf21d7518946e76f4b937ee1b60136104d461b
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2017-11-23 23:06:57 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2017-11-23 23:08:11 +0000

    dev-python/ipython: Drop USE=qt4, keep qt5
    
    Follow-up to:
    Bug: https://bugs.gentoo.org/630786
    Package-Manager: Portage-2.3.16, Repoman-2.3.6

 dev-python/ipython/ipython-5.3.0.ebuild | 6 +++---
 dev-python/ipython/ipython-5.4.1.ebuild | 3 +--
 dev-python/ipython/ipython-6.1.0.ebuild | 3 +--
 3 files changed, 5 insertions(+), 7 deletions(-)}