diff --git a/fix-jsonrpc-test-misc.patch b/fix-jsonrpc-test-misc.patch new file mode 100644 index 0000000..395681c --- /dev/null +++ b/fix-jsonrpc-test-misc.patch @@ -0,0 +1,13 @@ +Index: aiorpcX-0.25.0/tests/test_jsonrpc.py +=================================================================== +--- aiorpcX-0.25.0.orig/tests/test_jsonrpc.py ++++ aiorpcX-0.25.0/tests/test_jsonrpc.py +@@ -1064,7 +1064,7 @@ async def test_max_response_size(protoco + await group.spawn(send_batch(batch)) + + +-def test_misc(protocol): ++async def test_misc(protocol): + '''Misc tests to get full coverage.''' + connection = JSONRPCConnection(protocol) + diff --git a/python-aiorpcX.changes b/python-aiorpcX.changes index 89d0bf2..5433a31 100644 --- a/python-aiorpcX.changes +++ b/python-aiorpcX.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 4 12:44:25 UTC 2026 - Daniel Garcia + +- Add fix-jsonrpc-test-misc.patch to fix broken tests + gh#kyuupichan/aiorpcX#56 + ------------------------------------------------------------------- Thu Jul 31 06:56:43 UTC 2025 - Jiri Slaby diff --git a/python-aiorpcX.spec b/python-aiorpcX.spec index be78415..b77ec09 100644 --- a/python-aiorpcX.spec +++ b/python-aiorpcX.spec @@ -1,7 +1,7 @@ # # spec file for package python-aiorpcX # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,6 +26,8 @@ Group: Development/Languages/Python URL: https://github.com/kyuupichan/aiorpcX Source: https://github.com/kyuupichan/aiorpcX/archive/%{version}.tar.gz Patch0: 0001-Remove-event_loop-fixture-usage-from-tests.patch +# PATCH-FIX-OPENSUSE fix-jsonrpc-test-misc.patch -- gh#kyuupichan/aiorpcX#56 +Patch1: fix-jsonrpc-test-misc.patch BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel}