diff --git a/python-i3ipc.changes b/python-i3ipc.changes index 02a5210..1b167b0 100644 --- a/python-i3ipc.changes +++ b/python-i3ipc.changes @@ -1,7 +1,8 @@ ------------------------------------------------------------------- Fri Sep 5 15:21:20 UTC 2025 - Markéta Machová -- Add pytest-asyncio dependency to fix tests +- Add pytest-asyncio dependency and test-aio.patch to fix tests +- Skip some misbehaving tests ------------------------------------------------------------------- Wed May 28 11:44:55 UTC 2025 - Markéta Machová diff --git a/python-i3ipc.spec b/python-i3ipc.spec index 0d20abe..ad1702a 100644 --- a/python-i3ipc.spec +++ b/python-i3ipc.spec @@ -25,6 +25,7 @@ License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/altdesktop/i3ipc-python Source0: https://github.com/altdesktop/i3ipc-python/archive/v%{version}.tar.gz#/i3ipc-%{version}.tar.gz +# PATCH-FIX-OPENSUSE https://github.com/altdesktop/i3ipc-python/issues/217 Patch0: test-aio.patch BuildRequires: %{python_module asyncio} BuildRequires: %{python_module pip} @@ -71,13 +72,15 @@ find examples/ -name \*.py -exec chmod -x '{}' \; %python_expand %fdupes %{buildroot}%{$python_sitelib} %check + # test_shutdown_event_reconnect always fails # test_restart fails on openSUSE/SLE 15 # test_window_event is intermittent # test_detailed_window_event stucks in obs, not with the local build (https://github.com/altdesktop/i3ipc-python/issues/192) +# test_workspace gets stuck, test_event_exception and test_tick_event get lost in new asyncio loops https://github.com/altdesktop/i3ipc-python/issues/217 %{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib} xvfb-run --server-args "-screen 0 1920x1080x24" \ - $python -m pytest -k 'not (test_shutdown_event_reconnect or test_restart or test_window_event or test_detailed_window_event)' + $python -m pytest -k 'not (test_shutdown_event_reconnect or test_restart or test_window_event or test_detailed_window_event or test_workspace or test_event_exception or test_tick_event)' } %files %{python_files}