commit: f248e1d016be0147166c0e91f9e43ca7513be6bc
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 6 15:27:38 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Sep 6 16:38:50 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f248e1d0
app-admin/awscli: Disable pytest plugin autoloading
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
app-admin/awscli/awscli-1.29.40.ebuild | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/app-admin/awscli/awscli-1.29.40.ebuild
b/app-admin/awscli/awscli-1.29.40.ebuild
index 62c19f3a63fb..612e893b5bef 100644
--- a/app-admin/awscli/awscli-1.29.40.ebuild
+++ b/app-admin/awscli/awscli-1.29.40.ebuild
@@ -64,8 +64,11 @@ python_test() {
tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid
)
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
# integration tests require AWS credentials and Internet access
- epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
+ epytest tests/{functional,unit} \
+ -p xdist -n "$(makeopts_jobs)" \
+ -p pytest_forked --forked
}
python_install_all() {