commit:     fabaf18c435e9b5a762be9cfb04510d68368eaf0
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  2 18:38:45 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Aug  2 19:11:20 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fabaf18c

dev-python/pybind11: Use EPYTEST_PLUGINS

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

 dev-python/pybind11/pybind11-3.0.0.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-python/pybind11/pybind11-3.0.0.ebuild 
b/dev-python/pybind11/pybind11-3.0.0.ebuild
index a90dae251e95..921ba3c8fe8e 100644
--- a/dev-python/pybind11/pybind11-3.0.0.ebuild
+++ b/dev-python/pybind11/pybind11-3.0.0.ebuild
@@ -33,11 +33,12 @@ BDEPEND="
                <dev-cpp/catch-3:0
                >=dev-cpp/catch-2.13.9:0
                dev-libs/boost
-               dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
                dev-python/tomlkit[${PYTHON_USEDEP}]
        )
 "
 
+EPYTEST_PLUGINS=()
+EPYTEST_RERUNS=5
 EPYTEST_XDIST=1
 distutils_enable_tests pytest
 
@@ -75,9 +76,8 @@ python_compile() {
 python_test() {
        cmake_build cpptest test_cmake_build
 
-       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
        cd "${BUILD_DIR}/tests" || die
-       epytest -p rerunfailures --reruns=5 "${S}/tests"
+       epytest "${S}/tests"
 }
 
 python_install() {

Reply via email to