mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-python/aiorpcx: Enable py3.14
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -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"
|
||||
)
|
||||
|
||||
22
dev-python/aiorpcx/files/aiorpcx-0.25.0-py314.patch
Normal file
22
dev-python/aiorpcx/files/aiorpcx-0.25.0-py314.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
From 25043621700672ee375d20b78804118acac43b1b Mon Sep 17 00:00:00 2001
|
||||
From: Neil Booth <kyuupichan@pm.me>
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user