commit: b24bc93c210ec123edc38fd9bb1532575a7392de
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 2 18:33:24 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Aug 2 19:11:17 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b24bc93c
dev-python/iminuit: Use EPYTEST_PLUGINS
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/iminuit/iminuit-2.31.1.ebuild | 25 ++++++++++---------------
1 file changed, 10 insertions(+), 15 deletions(-)
diff --git a/dev-python/iminuit/iminuit-2.31.1.ebuild
b/dev-python/iminuit/iminuit-2.31.1.ebuild
index a7aab66d876b..68aa775f65f0 100644
--- a/dev-python/iminuit/iminuit-2.31.1.ebuild
+++ b/dev-python/iminuit/iminuit-2.31.1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=scikit-build-core
-PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_COMPAT=( python3_{11..13} )
inherit cmake distutils-r1 virtualx pypi
@@ -37,8 +37,17 @@ BDEPEND="
)
"
+EPYTEST_PLUGINS=()
distutils_enable_tests pytest
+EPYTEST_DESELECT=(
+ # precision error
+ tests/test_cost.py::test_Template_with_model_2D
+
+ # TODO
+ tests/test_describe.py::test_with_pydantic_types
+)
+
src_prepare() {
distutils-r1_src_prepare
@@ -51,17 +60,3 @@ src_prepare() {
src_test() {
virtx distutils-r1_src_test
}
-
-python_test() {
- local EPYTEST_DESELECT=(
- # precision error
- tests/test_cost.py::test_Template_with_model_2D
-
- # TODO
- tests/test_describe.py::test_with_pydantic_types
- )
-
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
- # nonfatal implied by virtx
- nonfatal epytest || die "Tests failed with ${EPYTHON}"
-}