- 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
This commit is contained in:
Ondřej Súkup 2019-12-28 15:04:49 +00:00 committed by Git OBS Bridge
parent 02ff591f9f
commit d4d7a5008e
5 changed files with 26 additions and 13 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ba859c74fa3c966a22f2aeebe1b74ee27e2a462f56d3f5f7ca4a59af61bfe42e
size 872898

3
jedi-0.15.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e909527104a903606dd63bea6e8e888833f0ef087057829b89a18364a856f807
size 913832

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sat Dec 28 15:02:12 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>
- 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 <mcepl@suse.com>

View File

@ -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

View File

@ -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')