INTERNALERROR> File "/usr/lib64/python2.7/site-packages/pytestqt/qt_compat.py", line 73, in _import_module INTERNALERROR> return getattr(m, module_name) INTERNALERROR> AttributeError: 'module' object has no attribute 'QtGui' * ERROR: dev-python/jedi-0.10.2::gentoo failed (test phase): * Tests failed under python2.7 * ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-desktop-gnome_test_20180113-210728 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.2.0 * Available Python interpreters, in order of preference: [1] python3.5 [2] python2.7 (fallback) [3] pypy3 (fallback) java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.6.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpv dev-python/jedi [ebuild N ] dev-python/jedi-0.10.2 USE="-doc {-test}" PYTHON_TARGETS="python2_7 python3_5 -python3_4 -python3_6"
Created attachment 514948 [details] emerge-info.txt
Created attachment 514950 [details] dev-python:jedi-0.10.2:20180115-193842.log
Created attachment 514952 [details] emerge-history.txt
Created attachment 514954 [details] environment
Created attachment 514956 [details] etc.portage.tbz2
Created attachment 514958 [details] temp.tbz2
*** Bug 644690 has been marked as a duplicate of this bug. ***
few more : $ grep INTER tb/data/ALREADY_CATCHED | sed 's/has no attribute//g' | sed 's/INTERNALERROR> AttributeError://g' dev-python/jedi-0.10.2 : [TEST] module object QtGui dev-python/ptyprocess-0.5.2 : [TEST] module object QtGui dev-python/pexpect-4.2.1 : [TEST] module object QtGui dev-python/geventhttpclient-1.3.1 : [TEST] module object QtGui dev-python/lazy-object-proxy-1.3.1 : [TEST] module object QtGui dev-python/wcwidth-0.1.7-r1 : [TEST] module object QtGui dev-python/pyte-0.5.2-r2 : [TEST] module object QtGui dev-python/pytest-mock-1.6.3 : [TEST] module object QtGui app-shells/thefuck-3.25 : [TEST] module PyQt4 QtGui dev-python/node-semver-0.2.0 : [TEST] module object QtGui
The error comes from dev-python/pytest-qt. It only specifies: > || ( > dev-python/PyQt4 > dev-python/PyQt5 > ) Check if dev-python/PyQt4 was built with USE=X, it enables the QtGui module. In PyQt5 it is be aptly named USE=gui. Please consider dropping the PyQt4 dep entirely, wrt bug 631788.
(In reply to Andreas Sturmlechner from comment #9) > The error comes from dev-python/pytest-qt. It only specifies: > > > || ( > > dev-python/PyQt4 > > dev-python/PyQt5 > > ) > > Check if dev-python/PyQt4 was built with USE=X, it enables the QtGui module. > In PyQt5 it is be aptly named USE=gui. > > Please consider dropping the PyQt4 dep entirely, wrt bug 631788. Yeah I have little investment in dev-python/PyQt4. I'll change that line to depend on dev-python/PyQt5[gui] and revbump.
This should fix it. Reopen if there's an issue. commit 706f04a56209e8370a385cab801be1f1d6005f76 (HEAD -> master, origin/master, origin/HEAD) Author: Anthony G. Basile <blueness@gentoo.org> Date: Mon Jan 15 16:28:53 2018 -0500 dev-python/pytest-qt: drop PyQt4, properly depend on PyQt5[gui], bug #644682 Package-Manager: Portage-2.3.13, Repoman-2.3.3
*** Bug 644788 has been marked as a duplicate of this bug. ***
*** Bug 644790 has been marked as a duplicate of this bug. ***
*** Bug 644494 has been marked as a duplicate of this bug. ***
*** Bug 644486 has been marked as a duplicate of this bug. ***
*** Bug 644474 has been marked as a duplicate of this bug. ***