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

Bug 933545

Summary: dev-python/ipywidgets-8.1.2-r1 fails tests with >=dev-python/pytest-8: AttributeError: 'DummyComm' object has no attribute 'messages'
Product: Gentoo Linux Reporter: matoro <matoro_gentoo>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal CC: ago, matoro_gentoo, mgorny, python
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/jupyter-widgets/ipywidgets/issues/3895
See Also: https://bugs.gentoo.org/show_bug.cgi?id=932075
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 923268    
Attachments: build.log and emerge --info

Description matoro archtester 2024-06-04 19:04:00 UTC
Created attachment 895082 [details]
build.log and emerge --info

FAILED ipywidgets/widgets/tests/test_send_state.py::test_empty_send_state - AttributeError: 'DummyComm' object has no attribute 'messages'
FAILED ipywidgets/widgets/tests/test_send_state.py::test_empty_hold_sync - AttributeError: 'DummyComm' object has no attribute 'messages'
FAILED ipywidgets/widgets/tests/test_set_state.py::test_set_state_simple[True] - AttributeError: 'DummyComm' object has no attribute 'messages'
FAILED ipywidgets/widgets/tests/test_set_state.py::test_set_state_simple[False] - AttributeError: 'DummyComm' object has no attribute 'messages'
FAILED ipywidgets/widgets/tests/test_set_state.py::test_set_state_transformer[True] - AttributeError: 'DummyComm' object has no attribute 'messages'
FAILED ipywidgets/widgets/tests/test_set_state.py::test_set_state_transformer[False] - AttributeError: 'DummyComm' object has no attribute 'messages'
FAILED ipywidgets/widgets/tests/test_set_state.py::test_set_state_data[True] - AttributeError: 'DummyComm' object has no attribute 'messages'
FAILED ipywidgets/widgets/tests/test_set_state.py::test_set_state_data[False] - AttributeError: 'DummyComm' object has no attribute 'messages'
FAILED ipywidgets/widgets/tests/test_set_state.py::test_set_state_data_truncate[True] - AttributeError: 'DummyComm' object has no attribute 'messages'
FAILED ipywidgets/widgets/tests/test_set_state.py::test_set_state_data_truncate[False] - AttributeError: 'DummyComm' object has no attribute 'messages'
FAILED ipywidgets/widgets/tests/test_set_state.py::test_set_state_numbers_int[True] - AttributeError: 'DummyComm' object has no attribute 'messages'
FAILED ipywidgets/widgets/tests/test_set_state.py::test_set_state_numbers_int[False] - AttributeError: 'DummyComm' object has no attribute 'messages'
FAILED ipywidgets/widgets/tests/test_set_state.py::test_set_state_numbers_float[True] - AttributeError: 'DummyComm' object has no attribute 'messages'
FAILED ipywidgets/widgets/tests/test_set_state.py::test_set_state_numbers_float[False] - AttributeError: 'DummyComm' object has no attribute 'messages'
FAILED ipywidgets/widgets/tests/test_set_state.py::test_set_state_float_to_float[True] - AttributeError: 'DummyComm' object has no attribute 'messages'
FAILED ipywidgets/widgets/tests/test_set_state.py::test_set_state_float_to_float[False] - AttributeError: 'DummyComm' object has no attribute 'messages'
FAILED ipywidgets/widgets/tests/test_set_state.py::test_set_state_cint_to_float[True] - AttributeError: 'DummyComm' object has no attribute 'messages'
FAILED ipywidgets/widgets/tests/test_set_state.py::test_set_state_cint_to_float[False] - AttributeError: 'DummyComm' object has no attribute 'messages'
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-06-05 03:37:54 UTC
Oh, thanks for pointing out that it could be pytest version!  I've noticed these while trying to bump it, and thought they were regressions.  It makes sense now.
Comment 2 Larry the Git Cow gentoo-dev 2024-06-05 04:58:21 UTC
The bug has been closed via the following commit(s):

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

commit bf384086005a34b6c91426a2921c5e92d0fae803
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-06-05 04:54:06 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-06-05 04:58:09 +0000

    dev-python/ipywidgets: Restrict to <dev-python/pytest-8.1
    
    Closes: https://bugs.gentoo.org/933545
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/ipywidgets/ipywidgets-8.1.2-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-06-05 09:05:38 UTC
*** Bug 933584 has been marked as a duplicate of this bug. ***