commit:     10f03542d2d7d3170e2711ddb6ffe0da2c2eb448
Author:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 28 07:54:33 2024 +0000
Commit:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Fri Jun 28 08:12:29 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10f03542

dev-python/priority: enable tests for py3.{12..13}

The issue seems to be gone. Tests pass for both py3.12 and py3.13.

Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org>

 dev-python/priority/priority-1.3.0-r1.ebuild | 18 +++---------------
 1 file changed, 3 insertions(+), 15 deletions(-)

diff --git a/dev-python/priority/priority-1.3.0-r1.ebuild 
b/dev-python/priority/priority-1.3.0-r1.ebuild
index 7c03473bd514..58a6d662f117 100644
--- a/dev-python/priority/priority-1.3.0-r1.ebuild
+++ b/dev-python/priority/priority-1.3.0-r1.ebuild
@@ -4,8 +4,8 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_TESTED=( python3_{10..11} pypy3 )
-PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_1{2..3} )
+PYTHON_TESTED=( python3_{10..13} pypy3 )
+PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" )
 
 inherit distutils-r1 pypi
 
@@ -22,9 +22,7 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k 
~mips ppc ppc64 ~riscv
 
 BDEPEND="
        test? (
-               $(python_gen_cond_dep '
-                       >=dev-python/hypothesis-3.4.2[${PYTHON_USEDEP}]
-               ' "${PYTHON_TESTED[@]}")
+               >=dev-python/hypothesis-3.4.2[${PYTHON_USEDEP}]
        )
 "
 
@@ -33,13 +31,3 @@ PATCHES=(
 )
 
 distutils_enable_tests pytest
-
-python_test() {
-       # https://github.com/python/cpython/issues/105042
-       if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
-               einfo "Skipping tests on ${EPYTHON} (xfail)"
-               return
-       fi
-
-       epytest
-}

Reply via email to