From 199417d4ad58c44ee45d0b4292b86d38b5a00e6379a8f7dcccfb147b885c9cf4 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Sat, 20 Jun 2020 12:15:15 +0000 Subject: [PATCH] - Update to version 0.17.1 * Django ``Model`` meta class support * Django Manager support (completion on Managers/QuerySets) * Added Django Stubs to Jedi, thanks to all contributors of the `Django Stubs `_ project * Added ``SyntaxError.get_message`` * Python 3.9 support * Bugfixes (mostly towards Generics) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=70 --- jedi-0.17.0.tar.gz | 3 --- jedi-0.17.1.tar.gz | 3 +++ jedi-pr1543-sorttest.patch | 23 ----------------------- python-jedi.changes | 12 ++++++++++++ python-jedi.spec | 4 +--- 5 files changed, 16 insertions(+), 29 deletions(-) delete mode 100644 jedi-0.17.0.tar.gz create mode 100644 jedi-0.17.1.tar.gz delete mode 100644 jedi-pr1543-sorttest.patch diff --git a/jedi-0.17.0.tar.gz b/jedi-0.17.0.tar.gz deleted file mode 100644 index 97a9fbe..0000000 --- a/jedi-0.17.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:df40c97641cb943661d2db4c33c2e1ff75d491189423249e989bcea4464f3030 -size 953177 diff --git a/jedi-0.17.1.tar.gz b/jedi-0.17.1.tar.gz new file mode 100644 index 0000000..cbcc870 --- /dev/null +++ b/jedi-0.17.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:807d5d4f96711a2bcfdd5dfa3b1ae6d09aa53832b182090b222b5efb81f52f63 +size 1137664 diff --git a/jedi-pr1543-sorttest.patch b/jedi-pr1543-sorttest.patch deleted file mode 100644 index ffb24e3..0000000 --- a/jedi-pr1543-sorttest.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 57f2a731d2e5c4fe5794d823154983e44e8df003 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= -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( diff --git a/python-jedi.changes b/python-jedi.changes index 7f73c40..44b69a1 100644 --- a/python-jedi.changes +++ b/python-jedi.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Sat Jun 20 12:06:26 UTC 2020 - Benjamin Greiner + +- Update to version 0.17.1 + * Django ``Model`` meta class support + * Django Manager support (completion on Managers/QuerySets) + * Added Django Stubs to Jedi, thanks to all contributors of the + `Django Stubs `_ project + * Added ``SyntaxError.get_message`` + * Python 3.9 support + * Bugfixes (mostly towards Generics) + ------------------------------------------------------------------- Sun May 24 08:30:33 UTC 2020 - Tomáš Chvátal diff --git a/python-jedi.spec b/python-jedi.spec index c32fa69..552344e 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.17.0 +Version: 0.17.1 Release: 0 Summary: An autocompletion tool for Python License: MIT AND Python-2.0 @@ -26,7 +26,6 @@ Group: Development/Languages/Python URL: https://github.com/davidhalter/jedi Source0: https://files.pythonhosted.org/packages/source/j/jedi/jedi-%{version}.tar.gz Source1: %{name}-rpmlintrc -Patch0: jedi-pr1543-sorttest.patch BuildRequires: %{python_module parso >= 0.7.0} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} @@ -52,7 +51,6 @@ implementation as a VIM plugin which uses Jedi's autocompletion. %prep %setup -q -n jedi-%{version} -%patch0 -p1 %build %python_build