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

Bug 644816

Summary: dev-python/pytest-qt missing usedep on PyQt5[testlib] (was: socketpool-0.5.3 : [TEST] INTERNALERROR> AttributeError: module object has no attribute QtTest)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Anthony Basile <blueness>
Status: RESOLVED FIXED    
Severity: normal CC: python
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-python:socketpool-0.5.3:20180116-212940.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2
tests.tbz2

Description Toralf Förster gentoo-dev 2018-01-16 21:34:50 UTC
still happened even after PyQT5 fixes 


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 'QtTest'
 * ERROR: dev-python/socketpool-0.5.3::gentoo failed (test phase):
 *   (no error message)
 * 

  -------------------------------------------------------------------

  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/socketpool
[ebuild  N    ] dev-python/socketpool-0.5.3  USE="-examples {-test}" PYTHON_TARGETS="python2_7 python3_5 -pypy -python3_4 -python3_6"
Comment 1 Toralf Förster gentoo-dev 2018-01-16 21:34:53 UTC
Created attachment 515120 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-01-16 21:34:56 UTC
Created attachment 515122 [details]
dev-python:socketpool-0.5.3:20180116-212940.log
Comment 3 Toralf Förster gentoo-dev 2018-01-16 21:34:59 UTC
Created attachment 515124 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-01-16 21:35:02 UTC
Created attachment 515126 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-01-16 21:35:05 UTC
Created attachment 515128 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-01-16 21:35:08 UTC
Created attachment 515130 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-01-16 21:35:11 UTC
Created attachment 515132 [details]
tests.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2018-01-16 22:06:04 UTC
The bug has been closed via the following commit(s):

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

commit c81a3b67d247329e3e725e5c7a46b78492fe4600
Author:     Anthony G. Basile <blueness@gentoo.org>
AuthorDate: 2018-01-16 22:05:34 +0000
Commit:     Anthony G. Basile <blueness@gentoo.org>
CommitDate: 2018-01-16 22:05:34 +0000

    dev-python/pytest-qt: also use dep on PyQt[testlib], bug #644816
    
    Closes: https://bugs.gentoo.org/644816
    Package-Manager: Portage-2.3.13, Repoman-2.3.3

 .../pytest-qt/{pytest-qt-2.3.0-r1.ebuild => pytest-qt-2.3.0-r2.ebuild}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)