Hello community,

here is the log from the commit of package python-jedi for openSUSE:Factory 
checked in at 2020-04-18 00:27:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jedi (Old)
 and      /work/SRC/openSUSE:Factory/.python-jedi.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-jedi"

Sat Apr 18 00:27:36 2020 rev:23 rq:794384 version:0.17.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-jedi/python-jedi.changes  2020-04-15 
19:53:11.737563843 +0200
+++ /work/SRC/openSUSE:Factory/.python-jedi.new.2738/python-jedi.changes        
2020-04-18 00:27:43.313715799 +0200
@@ -1,0 +2,28 @@
+Wed Apr 15 10:03:54 UTC 2020 - Benjamin Greiner <[email protected]>
+
+- Update to v0.17.0
+  * Added ``Project`` support. This allows a user to specify which
+    folders Jedi should work with.
+  * Added support for Refactoring. The following refactorings have
+    been implemented: ``Script.rename``, ``Script.inline``,
+    ``Script.extract_variable`` and ``Script.extract_function``.
+  * Added ``Script.get_syntax_errors`` to display syntax errors in
+    the current script.
+  * Added code search capabilities both for individual files and
+    projects. The new functions are ``Project.search``,
+    ``Project.complete_search``,  ``Script.search`` and
+    ``Script.complete_search``.
+  * Added ``Script.help`` to make it easier to display a help
+    window to people. Now returns pydoc information as well for
+    Python keywords/operators.  This means that on the class 
+    keyword it will now return the docstring of Python's builtin
+    function ``help('class')``.
+  * The API documentation is now way more readable and complete.
+    Check it out under https://jedi.readthedocs.io. A lot of it
+    has been rewritten.
+  * Removed Python 3.4 support
+  * Many bugfixes 
+- back to regular releases, no git service needed anymore
+- jedi-pr1543-sorttest.patch gh#davidhalter/jedi#1543
+    
+-------------------------------------------------------------------

Old:
----
  _service
  _servicedata
  jedi-0.16.0+git55.17b3611c.tar.xz
  jedi.obsinfo

New:
----
  jedi-0.17.0.tar.gz
  jedi-pr1543-sorttest.patch

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

Other differences:
------------------
++++++ python-jedi.spec ++++++
--- /var/tmp/diff_new_pack.Yw6VnF/_old  2020-04-18 00:27:44.621718507 +0200
+++ /var/tmp/diff_new_pack.Yw6VnF/_new  2020-04-18 00:27:44.625718516 +0200
@@ -18,21 +18,22 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-jedi
-Version:        0.16.0+git55.17b3611c
+Version:        0.17.0
 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:        jedi-%{version}.tar.xz
+Source0:        
https://files.pythonhosted.org/packages/source/j/jedi/jedi-%{version}.tar.gz
 Source1:        %{name}-rpmlintrc
-BuildRequires:  %{python_module parso >= 0.5.0}
+Patch0:         jedi-pr1543-sorttest.patch
+BuildRequires:  %{python_module parso >= 0.7.0}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module typing}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       python-parso >= 0.5.0
+Requires:       python-parso >= 0.7.0
 BuildArch:      noarch
 %python_subpackages
 
@@ -51,6 +52,7 @@
 
 %prep
 %setup -q -n jedi-%{version}
+%patch0 -p1
 
 %build
 %python_build
@@ -66,6 +68,8 @@
 skiptests+=" or test_sqlite3_conversion"
 # some architectures are too slow for these optimizer devel checks
 skiptests+=" or test_speed"
+# fails on some architectures
+skiptests+=" or test_init_extension_module"
 %if 0%{?sle_version} == 150100
   # the python 2 pytest test discovery in Leap 15.1 and SLE15 SP1 
   # trips on purposely placed syntax errors in test/completion/imports.py

++++++ jedi-pr1543-sorttest.patch ++++++
>From 57f2a731d2e5c4fe5794d823154983e44e8df003 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <[email protected]>
Date: Wed, 15 Apr 2020 07:54:01 +0200
Subject: [PATCH] Sort test_project::test_search results to fix failures

Fixes #1542
---
 test/test_api/test_project.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/test_api/test_project.py b/test/test_api/test_project.py
index a7d4846e7..c21579a59 100644
--- a/test/test_api/test_project.py
+++ b/test/test_api/test_project.py
@@ -135,7 +135,7 @@ def test_search(string, full_names, kwargs, 
skip_pre_python36):
         defs = project.complete_search(string, **kwargs)
     else:
         defs = project.search(string, **kwargs)
-    assert [('stub:' if d.is_stub() else '') + d.full_name for d in defs] == 
full_names
+    assert sorted([('stub:' if d.is_stub() else '') + d.full_name for d in 
defs]) == full_names
 
 
 @pytest.mark.parametrize(

Reply via email to