commit: 039b6d188d5d1277d78a069f744cbef95154a768 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Oct 24 01:18:02 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Oct 24 01:18:17 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=039b6d18
dev-python/sentry-sdk: use EPYTEST_IGNORE to skip whole test files too Bug: https://bugs.gentoo.org/819864 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-python/sentry-sdk/sentry-sdk-1.4.3.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dev-python/sentry-sdk/sentry-sdk-1.4.3.ebuild b/dev-python/sentry-sdk/sentry-sdk-1.4.3.ebuild index d0881dad90d..c3d2764d436 100644 --- a/dev-python/sentry-sdk/sentry-sdk-1.4.3.ebuild +++ b/dev-python/sentry-sdk/sentry-sdk-1.4.3.ebuild @@ -42,13 +42,16 @@ BDEPEND=" distutils_enable_tests pytest python_test() { - local deselect=( + local EPYTEST_IGNORE=( # tests require Internet access tests/integrations/httpx/test_httpx.py tests/integrations/requests/test_requests.py tests/integrations/stdlib/test_httplib.py # wtf is it supposed to do?! tests/integrations/gcp/test_gcp.py + ) + + local EPYTEST_DESELECT=( # hangs 'tests/test_transport.py::test_transport_works[eventlet' # TODO @@ -68,5 +71,5 @@ python_test() { # Needs to detect sentry-sdk in the installed modules distutils_install_for_testing - epytest ${deselect[@]/#/--deselect } + epytest }
