- update to 0.18.0 (get it together with the latest python-parso just to

be sure):
  - Dropped Python 2 and Python 3.5
  - Using ``pathlib.Path()`` as an output instead of ``str`` in most
    places:
    - ``Project.path``
    - ``Script.path``
    - ``Definition.module_path``
    - ``Refactoring.get_renames``
    - ``Refactoring.get_changed_files``
  - Functions with ``@property`` now return ``property`` instead of
    ``function`` in ``Name().type``
  - Started using annotations
  - Better support for the walrus operator
  - Project attributes are now read accessible
  - Removed all deprecations
  This is likely going to be the last minor release before 1.0.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=84
This commit is contained in:
Matej Cepl 2020-12-25 19:29:21 +00:00 committed by Git OBS Bridge
parent 2ef9d42c49
commit 0535a50081
4 changed files with 28 additions and 6 deletions

View File

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

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

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

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Fri Dec 25 19:03:26 UTC 2020 - Matej Cepl <mcepl@suse.com>
- update to 0.18.0 (get it together with the latest python-parso just to
be sure):
- Dropped Python 2 and Python 3.5
- Using ``pathlib.Path()`` as an output instead of ``str`` in most
places:
- ``Project.path``
- ``Script.path``
- ``Definition.module_path``
- ``Refactoring.get_renames``
- ``Refactoring.get_changed_files``
- Functions with ``@property`` now return ``property`` instead of
``function`` in ``Name().type``
- Started using annotations
- Better support for the walrus operator
- Project attributes are now read accessible
- Removed all deprecations
This is likely going to be the last minor release before 1.0.
-------------------------------------------------------------------
Thu Sep 3 20:26:53 UTC 2020 - Matej Cepl <mcepl@suse.com>

View File

@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-jedi
Version: 0.17.2
Version: 0.18.0
Release: 0
Summary: An autocompletion tool for Python
License: MIT AND Python-2.0
@ -26,14 +26,14 @@ 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
BuildRequires: %{python_module parso >= 0.7.0}
BuildRequires: %{python_module parso >= 0.8.0}
# need pytest 5 https://github.com/davidhalter/jedi/issues/1660
BuildRequires: %{python_module pytest < 6.0.0}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module typing}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-parso >= 0.7.0
Requires: python-parso >= 0.8.0
BuildArch: noarch
%python_subpackages