commit: ee582437824e80dc8ef4b5835a8d1da26515c055 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sun Jun 30 17:48:34 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sun Jun 30 17:51:45 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee582437
dev-python/py-ubjson: Deselect failing tests Closes: https://bugs.gentoo.org/930272 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/py-ubjson/py-ubjson-0.16.1-r1.ebuild | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/dev-python/py-ubjson/py-ubjson-0.16.1-r1.ebuild b/dev-python/py-ubjson/py-ubjson-0.16.1-r1.ebuild index d04531f7b07d..03a8d9bc4bf8 100644 --- a/dev-python/py-ubjson/py-ubjson-0.16.1-r1.ebuild +++ b/dev-python/py-ubjson/py-ubjson-0.16.1-r1.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 @@ -20,7 +20,7 @@ LICENSE="Apache-2.0" SLOT="0" KEYWORDS="amd64 arm arm64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux" -distutils_enable_tests unittest +distutils_enable_tests pytest PATCHES=( # https://github.com/Iotic-Labs/py-ubjson/pull/19 @@ -28,5 +28,12 @@ PATCHES=( ) python_test() { - eunittest -s test + local EPYTEST_DESELECT=( + # the usual problem with random packages increasing recursion limit + test/test.py::TestEncodeDecodePlainExt::test_recursion + test/test.py::TestEncodeDecodeFpExt::test_recursion + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest test/test.py }
