Accepting request 894418 from home:bnavigator:branches:devel:languages:python

- Update to 0.3.19
  * Return more specific QNames for assignments #477
  * Tie accesses from string annotation to the string node #483
  * Fix leaking processes from TypeInferenceProvider #474
  * Fix TypeInferenceProvider breakage with empty cache #476
  * Fix formatting for link to QualifiedName class in docs #480
- Release 0.3.18
  * Add FlattenSentinel to support replacing a statement with
    multiple statements #455
  * Add BuiltinScope #469
  * Add FullyQualifiedNameProvider #465
  * Split QualifiedNameProvider out from
    libcst.metadata.scope_provider #464
  * Fix Exception while parsing escape character in raw f-strings
    #462

OBS-URL: https://build.opensuse.org/request/show/894418
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libcst?expand=0&rev=14
This commit is contained in:
Matej Cepl 2021-05-19 17:26:44 +00:00 committed by Git OBS Bridge
parent 3bfa6f7419
commit 1409b90fdf
4 changed files with 25 additions and 10 deletions

View File

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

3
libcst-0.3.19.tar.gz Normal file
View File

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

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Wed May 19 15:49:13 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Update to 0.3.19
* Return more specific QNames for assignments #477
* Tie accesses from string annotation to the string node #483
* Fix leaking processes from TypeInferenceProvider #474
* Fix TypeInferenceProvider breakage with empty cache #476
* Fix formatting for link to QualifiedName class in docs #480
- Release 0.3.18
* Add FlattenSentinel to support replacing a statement with
multiple statements #455
* Add BuiltinScope #469
* Add FullyQualifiedNameProvider #465
* Split QualifiedNameProvider out from
libcst.metadata.scope_provider #464
* Fix Exception while parsing escape character in raw f-strings
#462
-------------------------------------------------------------------
Sun Mar 21 15:05:59 UTC 2021 - Ben Greiner <code@bnavigator.de>

View File

@ -27,7 +27,7 @@
%bcond_with test
%endif
Name: python-libcst%{psuffix}
Version: 0.3.17
Version: 0.3.19
Release: 0
Summary: Python 3.5+ concrete syntax tree with AST-like properties
License: MIT
@ -66,8 +66,8 @@ A concrete syntax tree with AST-like properties for Python 3.5+ programs.
%setup -q -n libcst-%{version}
%autopatch -p1
# wrong executable call, when fixed, fails to detect syntax error gh#Instagram/LibCST#468
rm libcst/codemod/tests/test_codemod_cli.py
# wrong executable call when outside of venv (gh#Instagram/LibCST#468)
sed -i 's/"python"/sys.executable/' libcst/codemod/tests/test_codemod_cli.py
# Depends on optional pyre
rm \
@ -87,10 +87,6 @@ sed -i 's/import AbstractBaseMatcherNodeMeta/import Optional, AbstractBaseMatche
%if !%{with test}
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# fix mtimes
%{python_compileall}
# need a double treatment here
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif
%if %{with test}