Hello community, here is the log from the commit of package python-libcst for openSUSE:Factory checked in at 2020-11-25 19:27:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-libcst (Old) and /work/SRC/openSUSE:Factory/.python-libcst.new.5913 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-libcst" Wed Nov 25 19:27:45 2020 rev:3 rq:850136 version:0.3.14 Changes: -------- --- /work/SRC/openSUSE:Factory/python-libcst/python-libcst.changes 2020-09-04 10:59:42.726642648 +0200 +++ /work/SRC/openSUSE:Factory/.python-libcst.new.5913/python-libcst.changes 2020-11-25 19:27:50.286375916 +0100 @@ -1,0 +2,34 @@ +Sat Nov 21 00:16:24 UTC 2020 - Benjamin Greiner <[email protected]> + +- Update to version 0.3.14 + Fixed + * Fix is_annotation for types used in classdef base and assign + value [#406] + * Visit concatenated f-strings during scope analysis [#411] + * Correct handling of walrus operator in function args [#417] + * Allow generator expressions in f-strings [#419] + * Keep track of assignment/access ordering during scope analysis + [#413] + * Handle string type references in cast() during scope analysis + [#418] +- 0.3.13 + Fixed + * Use correct type for AugAssign and AnnAssign target [#396] + * Support string annotations for type aliases [#401] +- 0.3.12 + Fixed + * fix RemoveImportsVisitor crash when ImportAlias is + inserted without comma [#397] + * Provide STORE for {Class,Function}Def.name in + ExpressionContextProvider [#394] +- 0.3.11 + Added + * Implement TypeOf matcher [#384] + Updated + * Update return type of ParentNodeProvider to be CSTNode [#377] + * Add source code links to each class/function [#378] + Fixed + * Removing an import alias with a trailing standalone + comment should preserve the comment [#392] + +------------------------------------------------------------------- Old: ---- libcst-0.3.10.tar.gz New: ---- libcst-0.3.14.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-libcst.spec ++++++ --- /var/tmp/diff_new_pack.zJNcmk/_old 2020-11-25 19:27:51.862377901 +0100 +++ /var/tmp/diff_new_pack.zJNcmk/_new 2020-11-25 19:27:51.862377901 +0100 @@ -27,14 +27,14 @@ %bcond_with test %endif Name: python-libcst%{psuffix} -Version: 0.3.10 +Version: 0.3.14 Release: 0 Summary: Python 3.5+ concrete syntax tree with AST-like properties License: MIT URL: https://github.com/Instagram/LibCST Source: https://files.pythonhosted.org/packages/source/l/libcst/libcst-%{version}.tar.gz # isort needed for the code regeneration, code mod also on non test flavor -BuildRequires: %{python_module isort} +BuildRequires: %{python_module isort >= 5.5.3} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -46,10 +46,9 @@ Requires: python-dataclasses %endif %if %{with test} -%if %{python_version_nodots} < 37 -BuildRequires: %{python_module dataclasses} -%endif BuildRequires: %{python_module PyYAML >= 5.2} +BuildRequires: (python3-dataclasses if python3-base < 3.7) +BuildRequires: (python36-dataclasses if python36-base) # black needed for tests and the code regeneration BuildRequires: %{python_module black} BuildRequires: %{python_module hypothesis >= 4.36.0} @@ -65,9 +64,7 @@ %prep %setup -q -n libcst-%{version} # fix executable -sed -i 's/"python"/"python3"/' libcst/codemod/tests/test_codemod_cli.py -# https://github.com/Instagram/LibCST/issues/331 -isort --version | grep "VERSION 4" || sed -i 's/"isort", "-y"/"isort"/' libcst/codegen/generate.py +sed -i 's/"python"/sys.executable/' libcst/codemod/tests/test_codemod_cli.py # Depends on optional pyre rm \ @@ -75,9 +72,6 @@ libcst/metadata/tests/test_full_repo_manager.py \ libcst/tests/test_pyre_integration.py -# Test result depends on pyre -sed -i 's/"error: .* stack:",/"Transformed 1 files successfully.",/' libcst/codemod/tests/test_codemod_cli.py - %if !%{with test} %build %python_build @@ -91,11 +85,6 @@ %if %{with test} %check -%{python_expand # https://github.com/Instagram/LibCST/issues/331 -$python -m libcst.codegen.generate visitors -$python -m libcst.codegen.generate return_types -$python -m libcst.codegen.generate matchers -} %pyunittest -v %endif ++++++ libcst-0.3.10.tar.gz -> libcst-0.3.14.tar.gz ++++++ ++++ 4504 lines of diff (skipped) _______________________________________________ openSUSE Commits mailing list -- [email protected] To unsubscribe, email [email protected] List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/[email protected]
