diff --git a/libcst-0.3.17.tar.gz b/libcst-0.3.17.tar.gz deleted file mode 100644 index 6309ff5..0000000 --- a/libcst-0.3.17.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2766671c107263daa3fc34e39d55134a6fe253701564d7670586f30eee2c201c -size 403703 diff --git a/libcst-0.3.19.tar.gz b/libcst-0.3.19.tar.gz new file mode 100644 index 0000000..c0da045 --- /dev/null +++ b/libcst-0.3.19.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4876239db55164acaf034ee01f56a7db0a2f90cacea24b183d8aa69efc11b067 +size 418419 diff --git a/python-libcst.changes b/python-libcst.changes index a68bb96..b418767 100644 --- a/python-libcst.changes +++ b/python-libcst.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Wed May 19 15:49:13 UTC 2021 - Ben Greiner + +- 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 diff --git a/python-libcst.spec b/python-libcst.spec index 1b88828..aebbc6f 100644 --- a/python-libcst.spec +++ b/python-libcst.spec @@ -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}