Hello community,

here is the log from the commit of package python-jedi for openSUSE:Factory 
checked in at 2019-07-30 13:00:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jedi (Old)
 and      /work/SRC/openSUSE:Factory/.python-jedi.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-jedi"

Tue Jul 30 13:00:40 2019 rev:13 rq:715640 version:0.14.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-jedi/python-jedi.changes  2019-06-18 
14:44:22.621741510 +0200
+++ /work/SRC/openSUSE:Factory/.python-jedi.new.4126/python-jedi.changes        
2019-07-30 13:00:41.726444201 +0200
@@ -1,0 +2,18 @@
+Tue Jul 16 10:41:56 UTC 2019 - Ondřej Súkup <[email protected]>
+
+- update to 0.14.1
+ * CallSignature.index should now be working a lot better
+ * A couple of smaller bugfixes
+
+-------------------------------------------------------------------
+Thu Jul  4 11:12:49 UTC 2019 - Ondřej Súkup <[email protected]>
+
+- update to 0.14.0
+- enable tests
+- add unbundle.patch
+ * Added goto_*(prefer_stubs=True) as well as goto_*(prefer_stubs=True)
+ * Stubs are used now for type inference
+ * Typeshed is used for better type inference
+ * Reworked Definition.full_name, should have more correct return values
+
+-------------------------------------------------------------------

Old:
----
  jedi-0.13.3.tar.gz

New:
----
  jedi-0.14.1.tar.gz
  unbundle.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-jedi.spec ++++++
--- /var/tmp/diff_new_pack.IaLkUT/_old  2019-07-30 13:00:42.454444088 +0200
+++ /var/tmp/diff_new_pack.IaLkUT/_new  2019-07-30 13:00:42.462444087 +0200
@@ -18,20 +18,23 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-jedi
-Version:        0.13.3
+Version:        0.14.1
 Release:        0
 Summary:        An autocompletion tool for Python
 License:        MIT AND Python-2.0
 Group:          Development/Languages/Python
 URL:            https://github.com/davidhalter/jedi
 Source0:        
https://files.pythonhosted.org/packages/source/j/jedi/jedi-%{version}.tar.gz
-BuildRequires:  %{python_module parso >= 0.3.0}
+Patch0:         unbundle.patch
+BuildRequires:  %{python_module parso >= 0.5.0}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module typing}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       python-parso >= 0.3.0
+BuildRequires:  python-typeshed
+Requires:       python-parso >= 0.5.0
+Requires:       python-typeshed
 BuildArch:      noarch
 %python_subpackages
 
@@ -50,6 +53,8 @@
 
 %prep
 %setup -q -n jedi-%{version}
+%patch0 -p1
+rm -Rf jedi/third_party 
 
 %build
 %python_build
@@ -61,9 +66,8 @@
 %check
 export PYTHONDONTWRITEBYTECODE=1
 export LANG="en_US.UTF-8"
-# Don't bother with tests, this thing is broken on python3.7 and newer and
-# upstream needs to rewrite quite a lot
-#%%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} 
py.test-%{$python_bin_suffix} test/
+# in OBS venv isn't working and builtin completion tests dont work with 
unbundled typeshed
+%pytest -k "not test_venv_and_pths and not test_completion and not 
test_builtin_details"
 
 %files %{python_files}
 %doc AUTHORS.txt CHANGELOG.rst README.rst

++++++ jedi-0.13.3.tar.gz -> jedi-0.14.1.tar.gz ++++++
++++ 91234 lines of diff (skipped)

++++++ unbundle.patch ++++++
Index: jedi-0.14.0/setup.py
===================================================================
--- jedi-0.14.0.orig/setup.py
+++ jedi-0.14.0/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.14.0/jedi/evaluate/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_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',

Reply via email to