- 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 <https://github.com/typeddjango/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
This commit is contained in:
Benjamin Greiner 2020-06-20 12:15:15 +00:00 committed by Git OBS Bridge
parent 744e05d8a0
commit 199417d4ad
5 changed files with 16 additions and 29 deletions

View File

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

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

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

View File

@ -1,23 +0,0 @@
From 57f2a731d2e5c4fe5794d823154983e44e8df003 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
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(

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sat Jun 20 12:06:26 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- 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 <https://github.com/typeddjango/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 <tchvatal@suse.com>

View File

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