From 9bc176c29288d72cb3135a0b7952a632b4e6564f Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Thu, 16 Nov 2023 17:38:54 +0100 Subject: dev-python/jedi: Enable pypy3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sponsored-by: Ex Makhina, Inc. Signed-off-by: Michał Górny --- dev-python/jedi/jedi-0.19.1.ebuild | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'dev-python/jedi') 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 -- cgit v1.2.3-65-gdbad