summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-05-27 14:21:19 +0200
committerMichał Górny <mgorny@gentoo.org>2023-05-27 15:20:52 +0200
commit16be6d8e67ec558bc481c0902f83c9c766661ccd (patch)
tree49a4eb4c9ee706b02270d70567e79622b041b952 /dev-python/pyrsistent
parentdev-python/pynacl: Enable py3.12 (diff)
downloadgentoo-16be6d8e67ec558bc481c0902f83c9c766661ccd.tar.gz
gentoo-16be6d8e67ec558bc481c0902f83c9c766661ccd.tar.bz2
gentoo-16be6d8e67ec558bc481c0902f83c9c766661ccd.zip
dev-python/pyrsistent: Enable py3.12
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pyrsistent')
-rw-r--r--dev-python/pyrsistent/pyrsistent-0.19.3.ebuild14
1 files changed, 13 insertions, 1 deletions
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
+}