Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 747211 - dev-python/pytest-qt-3.3.0 fails tests
Summary: dev-python/pytest-qt-3.3.0 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrew Nowa Ammerlaan
URL:
Whiteboard:
Keywords:
Depends on: 745978
Blocks:
  Show dependency tree
 
Reported: 2020-10-08 06:39 UTC by Agostino Sarubbo
Modified: 2020-12-17 07:52 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,441.76 KB, text/plain)
2020-10-08 06:39 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-10-08 06:39:21 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/pytest-qt-3.3.0 fails tests.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2020-10-08 06:39:24 UTC
Created attachment 664279 [details]
build.log

build log and emerge --info
Comment 2 Andrew Nowa Ammerlaan gentoo-dev 2020-10-08 06:42:50 UTC

*** This bug has been marked as a duplicate of bug 743790 ***
Comment 3 Joonas Niilola gentoo-dev 2020-10-08 06:57:01 UTC
I will test this later, but an idea:
It works on stable system and is broken on ~?
Comment 4 Andrew Nowa Ammerlaan gentoo-dev 2020-10-08 06:59:21 UTC
It works with the stable Qt version (5.14.2), this issue occurs in Qt 5.15.1 and should be fixed in 5.15.2. 

In any case there's nothing I can do, the problem is in dev-python/PyQt5
Comment 5 Joonas Niilola gentoo-dev 2020-10-08 07:42:25 UTC
Would it make sense to limit the version requirement for PyQt5? 
<dev-python/QtPy-5.15[gui,testlib,${PYTHON_USEDEP}]

Since it's obviously broken with 5.15. When 5.15.2 is out, lift the restriction to allow that as well?
Comment 6 Andrew Nowa Ammerlaan gentoo-dev 2020-10-08 07:46:27 UTC
Well the thing is that it is not pytest-qt which is broken, it is a bug in PyQt5.

I would expect this same problem to occur in other packages which use this specific feature of PyQt5-5.15.1.

Besides, I've not had any problems at runtime with pytest-qt
Comment 7 Joonas Niilola gentoo-dev 2020-10-08 07:53:29 UTC
Can we minimize the effect by restricting the version under "test?" USE flag then? I see there are multiple tests failing so wouldn't be smart to disable/remove failing tests either.

Please add an upstream bug link here so we can track the status. Under See also.
Comment 8 Andrew Nowa Ammerlaan gentoo-dev 2020-10-08 07:55:28 UTC
I suppose we could do that.

Added the link