commit:     3fd1cbd45e092f59c3c9faaff04905c109594aad
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 26 19:02:36 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Mon Jun 30 15:26:05 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fd1cbd4

dev-python/pytest-bdd: use EPYTEST_PLUGINS

Being empty replaces AUTOLOAD=1 as the Gentoo standard way to set this
now, albeit still need to set PYTEST_PLUGINS manually to avoid
depending on self in pytest-* ebuilds.

Formerly only kept a note about it given directly setting AUTOLOAD=1
does the same thing (with the idea to drop it in eapi 9), but
EPYTEST_PLUGINS made its way into the python guide and is added
by default in vim templates now, so may as well use it. Can optionally
drop it when empty in eapi 9 still.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-python/pytest-bdd/pytest-bdd-8.1.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-bdd/pytest-bdd-8.1.0-r1.ebuild 
b/dev-python/pytest-bdd/pytest-bdd-8.1.0-r1.ebuild
index 089f3f9b4372..eda0f3713a14 100644
--- a/dev-python/pytest-bdd/pytest-bdd-8.1.0-r1.ebuild
+++ b/dev-python/pytest-bdd/pytest-bdd-8.1.0-r1.ebuild
@@ -28,6 +28,7 @@ RDEPEND="
        dev-python/typing-extensions[${PYTHON_USEDEP}]
 "
 
+EPYTEST_PLUGINS=()
 distutils_enable_tests pytest
 
 DOCS=( AUTHORS.rst CHANGES.rst README.rst )
@@ -38,7 +39,6 @@ PATCHES=(
 
 src_test() {
        local -x COLUMNS=80
-       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 # default in EAPI=9
        local -x PYTEST_PLUGINS=pytest_bdd.plugin
 
        local EPYTEST_DESELECT=(

Reply via email to