commit:     9bc176c29288d72cb3135a0b7952a632b4e6564f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 16 16:38:54 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Nov 16 16:38:54 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bc176c2

dev-python/jedi: Enable pypy3

Sponsored-by: Ex Makhina, Inc. <info-gentoo <AT> exmakhina.com>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/jedi/jedi-0.19.1.ebuild | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/dev-python/jedi/jedi-0.19.1.ebuild 
b/dev-python/jedi/jedi-0.19.1.ebuild
index 6b31c5b89bd8..3cfa00a0c4e2 100644
--- a/dev-python/jedi/jedi-0.19.1.ebuild
+++ b/dev-python/jedi/jedi-0.19.1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
 
 inherit distutils-r1
 
@@ -65,6 +65,17 @@ python_test() {
                test/test_inference/test_imports.py::test_os_issues
        )
 
+       case ${EPYTHON} in
+               pypy3)
+                       EPYTEST_DESELECT+=(
+                               test/test_api/test_api.py::test_preload_modules
+                               
test/test_api/test_interpreter.py::test_param_infer_default
+                               
test/test_inference/test_compiled.py::test_next_docstr
+                               
test/test_inference/test_compiled.py::test_time_docstring
+                       )
+                       ;;
+       esac
+
        # some plugin breaks case-insensitivity on completions
        local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
        # django and pytest tests are very version dependent

Reply via email to