commit:     e136c3976aee76ad4ed432758a51ac2246f805dd
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 14 07:17:20 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Aug 14 08:03:29 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e136c397

dev-python/pydantic: Skip mypy tests

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pydantic/pydantic-1.8.2.ebuild | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/dev-python/pydantic/pydantic-1.8.2.ebuild 
b/dev-python/pydantic/pydantic-1.8.2.ebuild
index 26b8dccc514..40c0a3ad124 100644
--- a/dev-python/pydantic/pydantic-1.8.2.ebuild
+++ b/dev-python/pydantic/pydantic-1.8.2.ebuild
@@ -3,8 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..9} )
-
+PYTHON_COMPAT=( python3_{8..9} )
 inherit distutils-r1
 
 DESCRIPTION="Data parsing and validation using Python type hints"
@@ -36,6 +35,11 @@ src_prepare() {
 }
 
 python_test() {
-       # TODO
-       epytest --deselect tests/test_hypothesis_plugin.py
+       local ignore=(
+               # mypy results depend on version
+               tests/mypy/test_mypy.py
+               # TODO
+               tests/test_hypothesis_plugin.py
+       )
+       epytest ${ignore[@]/#/--ignore }
 }

Reply via email to