commit:     da004db094175dd5de96858742a45ebd5290607e
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri May 16 18:10:34 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri May 16 18:31:28 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da004db0

dev-python/pyhamcrest: enable py3.14

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/pyhamcrest/pyhamcrest-2.1.0.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-python/pyhamcrest/pyhamcrest-2.1.0.ebuild 
b/dev-python/pyhamcrest/pyhamcrest-2.1.0.ebuild
index 1efb01e97990..a4978da1e21f 100644
--- a/dev-python/pyhamcrest/pyhamcrest-2.1.0.ebuild
+++ b/dev-python/pyhamcrest/pyhamcrest-2.1.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=hatchling
-PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} )
+PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
 
 inherit distutils-r1
 
@@ -41,6 +41,10 @@ python_test() {
                
tests/hamcrest_unit_test/number/iscloseto_test.py::IsNumericTest::test_numpy_numeric_type_complex
                
tests/hamcrest_unit_test/number/iscloseto_test.py::IsNumericTest::test_numpy_numeric_type_float
        )
+       [[ ${EPYTHON} == python3.14 ]] && EPYTEST_DESELECT+=(
+               # assumes asyncio event loop already exists
+               
tests/hamcrest_unit_test/core/future_test.py::FutureExceptionTest
+       )
 
        local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
        epytest

Reply via email to