commit: 46002642b703c21e6c1a4e3708da58aacb50f4a9
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun May 12 12:54:47 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May 12 13:05:30 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46002642
dev-python/pydantic-core: Run cargo test as well
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pydantic-core/pydantic-core-2.18.2.ebuild | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dev-python/pydantic-core/pydantic-core-2.18.2.ebuild
b/dev-python/pydantic-core/pydantic-core-2.18.2.ebuild
index eaf0ce478b6f..11abc1d00ee8 100644
--- a/dev-python/pydantic-core/pydantic-core-2.18.2.ebuild
+++ b/dev-python/pydantic-core/pydantic-core-2.18.2.ebuild
@@ -145,5 +145,7 @@ python_test() {
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
rm -rf pydantic_core || die
+ # tests link to libpython, so they fail to link on pypy3
+ [[ ${EPYTHON} != pypy3 ]] && cargo_src_test
epytest -p pytest_mock -p timeout
}