From d83f0b5ee52fc84855084b72e21fd75cb09520df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 26 Jun 2025 14:17:06 +0200 Subject: [PATCH] dev-python/betterproto: Use EPYTEST_PLUGINS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/betterproto/betterproto-2.0.0_beta7.ebuild | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/dev-python/betterproto/betterproto-2.0.0_beta7.ebuild b/dev-python/betterproto/betterproto-2.0.0_beta7.ebuild index 3c4f738b1694a..138ac9a216bf1 100644 --- a/dev-python/betterproto/betterproto-2.0.0_beta7.ebuild +++ b/dev-python/betterproto/betterproto-2.0.0_beta7.ebuild @@ -49,12 +49,10 @@ BDEPEND=" dev-python/cachelib[${PYTHON_USEDEP}] dev-python/pydantic[${PYTHON_USEDEP}] dev-python/tomlkit[${PYTHON_USEDEP}] - dev-python/pytest-asyncio[${PYTHON_USEDEP}] - dev-python/pytest-forked[${PYTHON_USEDEP}] - dev-python/pytest-mock[${PYTHON_USEDEP}] ) " +EPYTEST_PLUGINS=( pytest-{asyncio,forked,mock} ) distutils_enable_tests pytest PATCHES=( @@ -69,8 +67,7 @@ python_test() { "tests/test_inputs.py::test_binary_compatibility[mapmessage]" ) - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 # --forked to workaround protobuf segfaults # https://github.com/protocolbuffers/protobuf/issues/22067 - epytest -p asyncio -p pytest_mock -p pytest_forked --forked + epytest --forked }