From c51ce4db2a6f32201b793bc638d8f2f31b22c4f65608d045d547925e254792ff Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 2 Sep 2020 20:07:09 +0000 Subject: [PATCH] - Temporarily switch on _service to make jedi compatible with the latest parso (gh#davidhalter/jedi#1665) - Update to version 0.17.2+git.1596665570.216f976f: * Add a .readthedocs.yml to make sure that it's properly pip installed before the documentation is built * Formatting * if_stmt test clauses should be resolved at the start of the if_stmt * Basic implementation support for namedexpr, fixes #1647 * Remove the requirements file and require latest parso * Use pathlib for file ios, because the new parso is out * Revert Django changes in a9e2cd5a74b3eea91ad2a866ff8152b42fc509c8 * Use the default handling of optionals * Project attributes are now read accessible * Add explicit Optional annotation * Link mypy issue * Configure mypy and flake8 for our re-export files * Remove a couple of unused imports * These attributes aren't optional * Drop redundant rtype comment * Explain why we 'type: ignore' these properties * Give a bit more detail here * Also typecheck sith * Add ignores for stdlib imports only recently added * Configure the package root as implicit exports * Ignore this runtime-only import * Inherit from base class to placate mypy * Annotate potentially missing import * Change subclass to function wrapper * Ignore mypy not coping with decorated properties * Make this explicitly expect a Path * This is a Path now OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=77 --- _service | 16 ++++++++++++++++ _servicedata | 4 ++++ jedi-0.17.2.tar.gz | 3 --- jedi.obsinfo | 5 +++++ python-jedi.changes | 41 +++++++++++++++++++++++++++++++++++++++++ python-jedi.spec | 5 +++-- 6 files changed, 69 insertions(+), 5 deletions(-) create mode 100644 _service create mode 100644 _servicedata delete mode 100644 jedi-0.17.2.tar.gz create mode 100644 jedi.obsinfo diff --git a/_service b/_service new file mode 100644 index 0000000..3950fec --- /dev/null +++ b/_service @@ -0,0 +1,16 @@ + + + 0.17.2+git + https://github.com/davidhalter/jedi.git + git + .git* + enable + mcepl@cepl.eu + + + + xz + *.tar + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..2ff9e01 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/davidhalter/jedi.git + 216f976fd5cab7a460e5d287e853d11759251e52 \ No newline at end of file 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.obsinfo b/jedi.obsinfo new file mode 100644 index 0000000..4c181f5 --- /dev/null +++ b/jedi.obsinfo @@ -0,0 +1,5 @@ +name: jedi +version: 0.17.2+git.1596665570.216f976f +mtime: 1596665570 +commit: 216f976fd5cab7a460e5d287e853d11759251e52 + diff --git a/python-jedi.changes b/python-jedi.changes index a948f19..a8b27f7 100644 --- a/python-jedi.changes +++ b/python-jedi.changes @@ -1,3 +1,44 @@ +------------------------------------------------------------------- +Wed Sep 02 20:04:52 UTC 2020 - mcepl@cepl.eu + +- Temporarily switch on _service to make jedi compatible with the + latest parso (gh#davidhalter/jedi#1665) +- Update to version 0.17.2+git.1596665570.216f976f: + * Add a .readthedocs.yml to make sure that it's properly pip installed before the documentation is built + * Formatting + * if_stmt test clauses should be resolved at the start of the if_stmt + * Basic implementation support for namedexpr, fixes #1647 + * Remove the requirements file and require latest parso + * Use pathlib for file ios, because the new parso is out + * Revert Django changes in a9e2cd5a74b3eea91ad2a866ff8152b42fc509c8 + * Use the default handling of optionals + * Project attributes are now read accessible + * Add explicit Optional annotation + * Link mypy issue + * Configure mypy and flake8 for our re-export files + * Remove a couple of unused imports + * These attributes aren't optional + * Drop redundant rtype comment + * Explain why we 'type: ignore' these properties + * Give a bit more detail here + * Also typecheck sith + * Add ignores for stdlib imports only recently added + * Configure the package root as implicit exports + * Ignore this runtime-only import + * Inherit from base class to placate mypy + * Annotate potentially missing import + * Change subclass to function wrapper + * Ignore mypy not coping with decorated properties + * Make this explicitly expect a Path + * This is a Path now + * Annotate these attributes + * This is actually optional + * Fix type clash + * Annotate top level items mypy needs annotating + * Annotate the completions cache + * Fix most import related mypy errors + * Configure mypy + ------------------------------------------------------------------- Thu Aug 27 11:04:42 UTC 2020 - Benjamin Greiner diff --git a/python-jedi.spec b/python-jedi.spec index e9d860e..b58ad9c 100644 --- a/python-jedi.spec +++ b/python-jedi.spec @@ -18,13 +18,14 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-jedi -Version: 0.17.2 +Version: 0.17.2+git.1596665570.216f976f Release: 0 Summary: An autocompletion tool for Python License: MIT AND Python-2.0 Group: Development/Languages/Python URL: https://github.com/davidhalter/jedi -Source0: https://files.pythonhosted.org/packages/source/j/jedi/jedi-%{version}.tar.gz +# Source0: https://files.pythonhosted.org/packages/source/j/jedi/jedi-%%{version}.tar.gz +Source0: jedi-%{version}.tar.xz Source1: %{name}-rpmlintrc BuildRequires: %{python_module parso >= 0.7.0} # need pytest 5 https://github.com/davidhalter/jedi/issues/1660