forked from pool/python-libcst
Accepting request 860001 from home:bnavigator:branches:devel:languages:python
- Update to version 0.3.16 Added * Support PEP-604 style unions in decorator annotations #429 * Gathering exports in augmented assignment statements #426 Fixed * Don't allow out of order accesses in the global scope #431 * Handle scope ordering in For statements #430 * Fix for not parsing subscripts such as cast()["from"] #428 * Walrus operator's left hand side now has STORE expression context #433 - Changes in 0.3.15 Added * Support Named Unicode Characters and yield in f-strings #424 Fixed * Assignment/access ordering in comprehensions #423 * Referencing of remaining objects in cast() #422 - refresh skip_failing_test.patch OBS-URL: https://build.opensuse.org/request/show/860001 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-libcst?expand=0&rev=10
This commit is contained in:
parent
38688d5028
commit
d7f17cf2e5
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2ce363a6c46ac0100f6b0f72f6a4dd2116e1e1d84259e229d580d30a6d086d84
|
||||
size 409871
|
3
libcst-0.3.16.tar.gz
Normal file
3
libcst-0.3.16.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:99c200004b6e845642eea7a433844d144994767f9ed50705171720b76d28cf7e
|
||||
size 411727
|
@ -1,3 +1,24 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 3 21:02:37 UTC 2021 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to version 0.3.16
|
||||
Added
|
||||
* Support PEP-604 style unions in decorator annotations #429
|
||||
* Gathering exports in augmented assignment statements #426
|
||||
Fixed
|
||||
* Don't allow out of order accesses in the global scope #431
|
||||
* Handle scope ordering in For statements #430
|
||||
* Fix for not parsing subscripts such as cast()["from"] #428
|
||||
* Walrus operator's left hand side now has STORE expression
|
||||
context #433
|
||||
- Changes in 0.3.15
|
||||
Added
|
||||
* Support Named Unicode Characters and yield in f-strings #424
|
||||
Fixed
|
||||
* Assignment/access ordering in comprehensions #423
|
||||
* Referencing of remaining objects in cast() #422
|
||||
- refresh skip_failing_test.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 3 16:38:46 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
%bcond_with test
|
||||
%endif
|
||||
Name: python-libcst%{psuffix}
|
||||
Version: 0.3.14
|
||||
Version: 0.3.16
|
||||
Release: 0
|
||||
Summary: Python 3.5+ concrete syntax tree with AST-like properties
|
||||
License: MIT
|
||||
|
@ -1,14 +1,16 @@
|
||||
--- a/libcst/metadata/tests/test_scope_provider.py
|
||||
+++ b/libcst/metadata/tests/test_scope_provider.py
|
||||
@@ -4,6 +4,7 @@
|
||||
# LICENSE file in the root directory of this source tree.
|
||||
Index: libcst-0.3.16/libcst/metadata/tests/test_scope_provider.py
|
||||
===================================================================
|
||||
--- libcst-0.3.16.orig/libcst/metadata/tests/test_scope_provider.py
|
||||
+++ libcst-0.3.16/libcst/metadata/tests/test_scope_provider.py
|
||||
@@ -5,6 +5,7 @@
|
||||
|
||||
|
||||
import sys
|
||||
+from sys import maxsize
|
||||
from textwrap import dedent
|
||||
from typing import Mapping, Tuple, cast
|
||||
|
||||
@@ -23,8 +24,9 @@ from libcst.metadata.scope_provider impo
|
||||
@@ -24,8 +25,9 @@ from libcst.metadata.scope_provider impo
|
||||
ScopeProvider,
|
||||
_gen_dotted_names,
|
||||
)
|
||||
@ -19,7 +21,7 @@
|
||||
|
||||
class DependentVisitor(cst.CSTVisitor):
|
||||
METADATA_DEPENDENCIES = (ScopeProvider,)
|
||||
@@ -1353,6 +1355,7 @@ class ScopeProviderTest(UnitTest):
|
||||
@@ -1365,6 +1367,7 @@ class ScopeProviderTest(UnitTest):
|
||||
}
|
||||
self.assertEqual(names, {"a.b.c", "a.b", "a"})
|
||||
|
||||
@ -27,8 +29,10 @@
|
||||
def test_ordering(self) -> None:
|
||||
m, scopes = get_scope_metadata_provider(
|
||||
"""
|
||||
--- a/libcst/testing/utils.py
|
||||
+++ b/libcst/testing/utils.py
|
||||
Index: libcst-0.3.16/libcst/testing/utils.py
|
||||
===================================================================
|
||||
--- libcst-0.3.16.orig/libcst/testing/utils.py
|
||||
+++ libcst-0.3.16/libcst/testing/utils.py
|
||||
@@ -20,7 +20,7 @@ from typing import (
|
||||
TypeVar,
|
||||
Union,
|
||||
|
Loading…
x
Reference in New Issue
Block a user