commit:     db68236d93870872c37bb0e69cda9cefa3163515
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 11 12:22:35 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Nov 11 12:34:12 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db68236d

dev-python/pydantic-core: inline-snapshot supports PyPy now

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

 dev-python/pydantic-core/pydantic-core-2.26.0-r1.ebuild | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/dev-python/pydantic-core/pydantic-core-2.26.0-r1.ebuild 
b/dev-python/pydantic-core/pydantic-core-2.26.0-r1.ebuild
index 35a5f2977d0d..d1e5a61830d3 100644
--- a/dev-python/pydantic-core/pydantic-core-2.26.0-r1.ebuild
+++ b/dev-python/pydantic-core/pydantic-core-2.26.0-r1.ebuild
@@ -133,9 +133,7 @@ BDEPEND="
        test? (
                >=dev-python/dirty-equals-0.5.0[${PYTHON_USEDEP}]
                >=dev-python/hypothesis-6.63.0[${PYTHON_USEDEP}]
-               $(python_gen_cond_dep '
-                       >=dev-python/inline-snapshot-0.13.3[${PYTHON_USEDEP}]
-               ' 'python*')
+               >=dev-python/inline-snapshot-0.13.3[${PYTHON_USEDEP}]
                >=dev-python/pytest-mock-3.10.0[${PYTHON_USEDEP}]
                >=dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}]
                >=dev-python/pydantic-1.10.4[${PYTHON_USEDEP}]
@@ -161,12 +159,6 @@ python_test() {
                tests/serializers/test_functions.py::test_recursive_call
        )
 
-       if ! has_version "dev-python/inline-snapshot[${PYTHON_USEDEP}]"; then
-               EPYTEST_IGNORE+=(
-                       tests/validators/test_allow_partial.py
-               )
-       fi
-
        local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
        rm -rf pydantic_core || die
        # tests link to libpython, so they fail to link on pypy3

Reply via email to