Accepting request 816146 from devel:languages:python
- 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) - drop jedi-pr1543-sorttest.patch merged upstream OBS-URL: https://build.opensuse.org/request/show/816146 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jedi?expand=0&rev=25
This commit is contained in:
commit
739f349a3c
@ -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
3
jedi-0.17.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:807d5d4f96711a2bcfdd5dfa3b1ae6d09aa53832b182090b222b5efb81f52f63
|
||||
size 1137664
|
@ -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(
|
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 20 12:15:53 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)
|
||||
- drop jedi-pr1543-sorttest.patch merged upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 24 08:30:33 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user