commit:     16be6d8e67ec558bc481c0902f83c9c766661ccd
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat May 27 12:21:19 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat May 27 13:20:52 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16be6d8e

dev-python/pyrsistent: Enable py3.12

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pyrsistent/pyrsistent-0.19.3.ebuild | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/dev-python/pyrsistent/pyrsistent-0.19.3.ebuild 
b/dev-python/pyrsistent/pyrsistent-0.19.3.ebuild
index fe0aaaa964b9..82bedd9eff6a 100644
--- a/dev-python/pyrsistent/pyrsistent-0.19.3.ebuild
+++ b/dev-python/pyrsistent/pyrsistent-0.19.3.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 DISTUTILS_EXT=1
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..11} pypy3 )
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
 
 inherit distutils-r1 pypi
 
@@ -26,3 +26,15 @@ BDEPEND="
 "
 
 distutils_enable_tests pytest
+
+python_test() {
+       local EPYTEST_IGNORE=()
+       if [[ ${EPYTHON} == python3.12 ]]; then
+               EPYTEST_IGNORE+=(
+                       # probably a bug in python itself or in hypothesis
+                       tests/hypothesis_vector_test.py
+               )
+       fi
+
+       epytest
+}

Reply via email to