commit: 980f9b5336e2aa9486ef22e50b0349524705e456
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat May 11 11:53:41 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat May 11 12:06:24 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=980f9b53
dev-python/trustme: Disable plugin autoloading
Disable plugin autoloading to fix some random test failures.
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/trustme/trustme-1.1.0.ebuild | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/dev-python/trustme/trustme-1.1.0.ebuild
b/dev-python/trustme/trustme-1.1.0.ebuild
index 5e7472ed3ef0..53841a6c202c 100644
--- a/dev-python/trustme/trustme-1.1.0.ebuild
+++ b/dev-python/trustme/trustme-1.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -30,3 +30,8 @@ BDEPEND="
"
distutils_enable_tests pytest
+
+python_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest
+}