diff --git a/libcst-0.3.14.tar.gz b/libcst-0.3.14.tar.gz deleted file mode 100644 index 17b9e96..0000000 --- a/libcst-0.3.14.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2ce363a6c46ac0100f6b0f72f6a4dd2116e1e1d84259e229d580d30a6d086d84 -size 409871 diff --git a/libcst-0.3.16.tar.gz b/libcst-0.3.16.tar.gz new file mode 100644 index 0000000..b79fbff --- /dev/null +++ b/libcst-0.3.16.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:99c200004b6e845642eea7a433844d144994767f9ed50705171720b76d28cf7e +size 411727 diff --git a/python-libcst.changes b/python-libcst.changes index c168628..889ba50 100644 --- a/python-libcst.changes +++ b/python-libcst.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Sun Jan 3 21:02:37 UTC 2021 - Benjamin Greiner + +- 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 diff --git a/python-libcst.spec b/python-libcst.spec index 9bf7667..b61e0ee 100644 --- a/python-libcst.spec +++ b/python-libcst.spec @@ -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 diff --git a/skip_failing_test.patch b/skip_failing_test.patch index 6f53530..f879fba 100644 --- a/skip_failing_test.patch +++ b/skip_failing_test.patch @@ -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,