This is an auto-filled bug because dev-python/wxpython fails tests.
The issue was originally discovered on amd64, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.
If you need further logs, feel free to ask..
Created attachment 638450 [details]
build log and emerge --info
Is this a regression? If not, please don't make it block the stablereq bug
Is that even a real error or just some timing issue? Tests succeeded for me.
==================================== ERRORS ====================================
___________ ERROR at teardown of lib_buttons_Tests.test_lib_buttons2 ___________
unittests/wtc.py:33: in tearDown
timer = wx.PyTimer(_cleanup)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <wx.core.PyTimer object at 0x7fb056f8f870>
notify = <function WidgetTestCase.tearDown.<locals>._cleanup at 0x7fb06c0944d0>
def __init__(self, notify):
E wx._core.PyNoAppError: The wx.App object must be created first!
=================================== FAILURES ===================================
_____________________ lib_buttons_Tests.test_lib_buttons2 ______________________
That's a better result than mine. For me, 3 tests fail on py3.6, and the testsuite segfaults in the middle on py3.7+.
> =============================================== short test summary info ================================================
> FAILED unittests/test_lib_buttons.py::lib_buttons_Tests::test_lib_buttons2 - wx._core.PyNoAppError: The wx.App object...
> FAILED unittests/test_listctrl.py::listctrl_Tests::test_listctrlItemData02 - AssertionError: OverflowError not raised
> ERROR unittests/test_lib_buttons.py::lib_buttons_Tests::test_lib_buttons2 - wx._core.PyNoAppError: The wx.App object ...
> =============== 2 failed, 1668 passed, 21 skipped, 4 xfailed, 322 warnings, 1 error in 206.33s (0:03:26) ===============
> * ERROR: dev-python/wxpython-4.0.7::gentoo failed (test phase):
> * Failed to run 'pytest -vv unittests'
I will not mark stable. It's a pain for arch teams to encounter test failures: We have to read logs, understand the failure, look for reports... if you want your package stable with test failures, either disable failing tests you are aware of or just restrict tests in that version. But please don't waste arch tester's time.
The bug has been referenced in the following commit(s):
Author: Sam James <email@example.com>
AuthorDate: 2020-12-13 04:34:43 +0000
Commit: Sam James <firstname.lastname@example.org>
CommitDate: 2020-12-13 04:34:43 +0000
dev-python/wxpython: restrict tests
They're horrifically broken right now - either hanging
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James <email@example.com>
dev-python/wxpython/wxpython-4.0.7.ebuild | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)