- 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
35 lines
1.2 KiB
Diff
35 lines
1.2 KiB
Diff
Index: jedi-0.15.2/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
|
|
|
|
-import os
|
|
import ast
|
|
|
|
__AUTHOR__ = 'David Halter'
|
|
@@ -17,8 +16,6 @@ readme = open('README.rst').read() + '\n
|
|
with open('requirements.txt') as f:
|
|
install_requires = f.read().splitlines()
|
|
|
|
-assert os.path.isfile("jedi/third_party/typeshed/LICENSE"), \
|
|
- "Please download the typeshed submodule first (Hint: git submodule update --init)"
|
|
|
|
setup(name='jedi',
|
|
version=version,
|
|
Index: jedi-0.15.2/jedi/inference/gradual/typeshed.py
|
|
===================================================================
|
|
--- 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')
|
|
+TYPESHED_PATH = "/usr/share/typeshed"
|
|
|
|
_IMPORT_MAP = dict(
|
|
_collections='collections',
|