From d4d7a5008eb86229d35caf3fd91f4bfffa22133bad3402708a34a970884dfcca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Sat, 28 Dec 2019 15:04:49 +0000 Subject: [PATCH] - update to 0.15.2 - skip tests based on bundled typeshed - refreshed unbundle.patch * Call signatures are now detected a lot better * Add fuzzy completions with Script(...).completions(fuzzy=True) * Files bigger than one MB (about 20kLOC) get cropped to avoid getting stuck completely. * A big refactoring around contexts/values OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=51 --- jedi-0.15.1.tar.gz | 3 --- jedi-0.15.2.tar.gz | 3 +++ python-jedi.changes | 12 ++++++++++++ python-jedi.spec | 5 +++-- unbundle.patch | 16 ++++++++-------- 5 files changed, 26 insertions(+), 13 deletions(-) delete mode 100644 jedi-0.15.1.tar.gz create mode 100644 jedi-0.15.2.tar.gz diff --git a/jedi-0.15.1.tar.gz b/jedi-0.15.1.tar.gz deleted file mode 100644 index 8b56013..0000000 --- a/jedi-0.15.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ba859c74fa3c966a22f2aeebe1b74ee27e2a462f56d3f5f7ca4a59af61bfe42e -size 872898 diff --git a/jedi-0.15.2.tar.gz b/jedi-0.15.2.tar.gz new file mode 100644 index 0000000..6d15787 --- /dev/null +++ b/jedi-0.15.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e909527104a903606dd63bea6e8e888833f0ef087057829b89a18364a856f807 +size 913832 diff --git a/python-jedi.changes b/python-jedi.changes index be4d309..cd413ce 100644 --- a/python-jedi.changes +++ b/python-jedi.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Sat Dec 28 15:02:12 UTC 2019 - Ondřej Súkup + +- update to 0.15.2 +- skip tests based on bundled typeshed +- refreshed unbundle.patch + * Call signatures are now detected a lot better + * Add fuzzy completions with Script(...).completions(fuzzy=True) + * Files bigger than one MB (about 20kLOC) get cropped to avoid + getting stuck completely. + * A big refactoring around contexts/values + ------------------------------------------------------------------- Sat Nov 23 17:06:14 CET 2019 - Matej Cepl diff --git a/python-jedi.spec b/python-jedi.spec index f50a917..b6505da 100644 --- a/python-jedi.spec +++ b/python-jedi.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-jedi -Version: 0.15.1 +Version: 0.15.2 Release: 0 Summary: An autocompletion tool for Python License: MIT AND Python-2.0 @@ -70,7 +70,8 @@ export LANG="en_US.UTF-8" # test_static_analysis is flaky # test_os_path_join is time based # test_import and test_compiled_signature gh#davidhalter/jedi#1429 -%pytest -k "not (test_venv_and_pths or test_completion or test_builtin_details or test_static_analysis or test_os_path_join or test_import or test_compiled_signature)" +# test_module__file__ and test_sqlite3_conversion based on 'bundled' typeshed +%pytest -k "not (test_venv_and_pths or test_completion or test_builtin_details or test_static_analysis or test_os_path_join or test_import or test_compiled_signature or test_module__file__ or test_sqlite3_conversion)" %files %{python_files} %doc AUTHORS.txt CHANGELOG.rst README.rst diff --git a/unbundle.patch b/unbundle.patch index 707f6af..9fcb7f5 100644 --- a/unbundle.patch +++ b/unbundle.patch @@ -1,7 +1,7 @@ -Index: jedi-0.14.0/setup.py +Index: jedi-0.15.2/setup.py =================================================================== ---- jedi-0.14.0.orig/setup.py -+++ jedi-0.14.0/setup.py +--- jedi-0.15.2.orig/setup.py ++++ jedi-0.15.2/setup.py @@ -2,7 +2,6 @@ from setuptools import setup, find_packages @@ -19,12 +19,12 @@ Index: jedi-0.14.0/setup.py setup(name='jedi', version=version, -Index: jedi-0.14.0/jedi/evaluate/gradual/typeshed.py +Index: jedi-0.15.2/jedi/inference/gradual/typeshed.py =================================================================== ---- jedi-0.14.0.orig/jedi/evaluate/gradual/typeshed.py -+++ jedi-0.14.0/jedi/evaluate/gradual/typeshed.py -@@ -8,7 +8,7 @@ from jedi.evaluate.base_context import C - from jedi.evaluate.gradual.stub_context import TypingModuleWrapper, StubModuleContext +--- jedi-0.15.2.orig/jedi/inference/gradual/typeshed.py ++++ jedi-0.15.2/jedi/inference/gradual/typeshed.py +@@ -10,7 +10,7 @@ from jedi.inference.gradual.stub_value i + from jedi.inference.value import ModuleValue _jedi_path = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) -TYPESHED_PATH = os.path.join(_jedi_path, 'third_party', 'typeshed')