From fe77e95c8e1a3c41eb0f84b2f4b889e2818aa245 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 15 Apr 2026 09:31:06 +0200 Subject: [PATCH] dev-python/aiorpcx: Enable py3.14 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/aiorpcx/aiorpcx-0.25.0.ebuild | 6 +++-- .../aiorpcx/files/aiorpcx-0.25.0-py314.patch | 22 +++++++++++++++++++ 2 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 dev-python/aiorpcx/files/aiorpcx-0.25.0-py314.patch diff --git a/dev-python/aiorpcx/aiorpcx-0.25.0.ebuild b/dev-python/aiorpcx/aiorpcx-0.25.0.ebuild index a87e4570816f9..d90c6cb2faea1 100644 --- a/dev-python/aiorpcx/aiorpcx-0.25.0.ebuild +++ b/dev-python/aiorpcx/aiorpcx-0.25.0.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..13} ) +PYTHON_COMPAT=( python3_{11..14} ) inherit distutils-r1 @@ -42,4 +42,6 @@ EPYTEST_DESELECT=( PATCHES=( # https://github.com/kyuupichan/aiorpcX/commit/b8ce32889c45c98b44c4e247ec0b0ae206e9ee91 "${FILESDIR}/${P}-pytest-asyncio-1.patch" + # https://github.com/kyuupichan/aiorpcX/commit/25043621700672ee375d20b78804118acac43b1b + "${FILESDIR}/${P}-py314.patch" ) diff --git a/dev-python/aiorpcx/files/aiorpcx-0.25.0-py314.patch b/dev-python/aiorpcx/files/aiorpcx-0.25.0-py314.patch new file mode 100644 index 0000000000000..b000d6eb18ed5 --- /dev/null +++ b/dev-python/aiorpcx/files/aiorpcx-0.25.0-py314.patch @@ -0,0 +1,22 @@ +From 25043621700672ee375d20b78804118acac43b1b Mon Sep 17 00:00:00 2001 +From: Neil Booth +Date: Thu, 19 Feb 2026 13:29:30 +0000 +Subject: [PATCH] Make test_misc() async (danigm) + +--- + tests/test_jsonrpc.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/test_jsonrpc.py b/tests/test_jsonrpc.py +index 81414a7..8cda788 100755 +--- a/tests/test_jsonrpc.py ++++ b/tests/test_jsonrpc.py +@@ -1064,7 +1064,7 @@ async def send_batch(batch): + await group.spawn(send_batch(batch)) + + +-def test_misc(protocol): ++async def test_misc(protocol): + '''Misc tests to get full coverage.''' + connection = JSONRPCConnection(protocol) +