From d1fcfb4ef082a02c9fc8e138ea8b36cd25780e4d5eb879168ddc65eec0edb60e Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 25 Dec 2020 19:29:21 +0000 Subject: [PATCH] - 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 --- jedi-0.17.2.tar.gz | 3 --- jedi-0.18.0.tar.gz | 3 +++ python-jedi.changes | 22 ++++++++++++++++++++++ python-jedi.spec | 6 +++--- 4 files changed, 28 insertions(+), 6 deletions(-) delete mode 100644 jedi-0.17.2.tar.gz create mode 100644 jedi-0.18.0.tar.gz diff --git a/jedi-0.17.2.tar.gz b/jedi-0.17.2.tar.gz deleted file mode 100644 index 0875ea3..0000000 --- a/jedi-0.17.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:86ed7d9b750603e4ba582ea8edc678657fb4007894a12bcf6f4bb97892f31d20 -size 1139617 diff --git a/jedi-0.18.0.tar.gz b/jedi-0.18.0.tar.gz new file mode 100644 index 0000000..1ebe01e --- /dev/null +++ b/jedi-0.18.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:92550a404bad8afed881a137ec9a461fed49eca661414be45059329614ed0707 +size 1127968 diff --git a/python-jedi.changes b/python-jedi.changes index 1c2ef5e..e373109 100644 --- a/python-jedi.changes +++ b/python-jedi.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Fri Dec 25 19:03:26 UTC 2020 - Matej Cepl + +- 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 diff --git a/python-jedi.spec b/python-jedi.spec index e9d860e..23fe3e8 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.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