- 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
This commit is contained in:
Matej Cepl 2020-09-02 20:07:09 +00:00 committed by Git OBS Bridge
parent 331f1767a8
commit 27dc4fee36
9 changed files with 81 additions and 5 deletions

16
_service Normal file
View File

@ -0,0 +1,16 @@
<services>
<service name="obs_scm">
<param name="versionprefix">0.17.2+git</param>
<param name="url">https://github.com/davidhalter/jedi.git</param>
<param name="scm">git</param>
<param name="exclude">.git*</param>
<param name="changesgenerate">enable</param>
<param name="changesauthor">mcepl@cepl.eu</param>
</service>
<service mode="buildtime" name="tar" />
<service name="recompress" mode="buildtime">
<param name="compression">xz</param>
<param name="file">*.tar</param>
</service>
<service name="set_version" mode="buildtime"/>
</services>

View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/davidhalter/jedi.git</param>
<param name="changesrevision">216f976fd5cab7a460e5d287e853d11759251e52</param></service></servicedata>

View File

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

View File

@ -0,0 +1,5 @@
name: jedi
version: 0.17.2+git.1596665570.216f976f
mtime: 1596665570
commit: 216f976fd5cab7a460e5d287e853d11759251e52

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/davidhalter/jedi.git</param>
<param name="changesrevision">216f976fd5cab7a460e5d287e853d11759251e52</param></service></servicedata>

View File

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

5
jedi.obsinfo Normal file
View File

@ -0,0 +1,5 @@
name: jedi
version: 0.17.2+git.1596665570.216f976f
mtime: 1596665570
commit: 216f976fd5cab7a460e5d287e853d11759251e52

View File

@ -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 <code@bnavigator.de>

View File

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