Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 610100 - >=dev-python/spyder-3 fails to start with dev-python/PyQt5[-webkit]
Summary: >=dev-python/spyder-3 fails to start with dev-python/PyQt5[-webkit]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-20 16:27 UTC by Felix Büttner
Modified: 2017-08-15 20: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 Felix Büttner 2017-02-20 16:27:45 UTC
Spyder r-depends on 

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

This permits to have PyQt4 installed with webkit and PyQt5 without webkit. However, in that combination, spyder tries to work with PyQt5 and fails with

ImportError: No module named QtWebKit

See also here:

https://github.com/spyder-ide/spyder/issues/3200

Reproducible: Always

Steps to Reproduce:
1. build PyQt4 with +webkit and PyQt5 with -webkit
2. install spyder 3.0.2
3. run spyder
Actual Results:  
Starting spyder fails with ImportError: No module named QtWebKit

Expected Results:  
The result is expected, but one should be forced to use +webkit for all PyQt versions.
Comment 1 Arfrever Frehtes Taifersar Arahesis 2017-02-22 07:03:24 UTC
Since Qt 4 is deprecated and PySide does not yet support Qt 5, I suggest to force PyQt5 in dependencies.

(Also <longdescription> in metadata.xml should be updated.)
Comment 2 Andreas Sturmlechner gentoo-dev 2017-08-15 20:11:20 UTC
Cleaned up as proposed.