diff --git a/python-redbaron.changes b/python-redbaron.changes index 88739e3..c03b898 100644 --- a/python-redbaron.changes +++ b/python-redbaron.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Thu Apr 25 11:16:40 UTC 2019 - pgajdos@suse.com + +- version update to 0.9.2 + * fix a situation in .help() where some code where colorized + twice by Hanaasagi https://github.com/PyCQA/redbaron/pull/182 + * fix .names() and variations that didn't handle the case where + there was "()" on FromImport nodes + * full python 3.7 syntax support + * BREAKING CHANGE: annotations are now member of + {Def,List,Dict}Argument to flatten the data structure, + TypedNameNode doesn't exist anymore + * add support for return annotation by bram + * add support for variable annotation + https://github.com/PyCQA/redbaron/pull/177 by scottbelden + and additional work by bram + * add support for raise from by bram +- run tests + ------------------------------------------------------------------- Fri Nov 30 13:43:45 UTC 2018 - Jan Engelhardt diff --git a/python-redbaron.spec b/python-redbaron.spec index 7c1dbe4..bf06db1 100644 --- a/python-redbaron.spec +++ b/python-redbaron.spec @@ -1,7 +1,7 @@ # # spec file for package python-redbaron # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-redbaron -Version: 0.8 +Version: 0.9.2 Release: 0 Summary: Python module for writing code that modifies source code License: LGPL-3.0-or-later @@ -33,6 +33,7 @@ Requires: python-baron >= 0.7 BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module baron >= 0.7} +BuildRequires: %{python_module pytest} # /SECTION %python_subpackages @@ -52,6 +53,10 @@ IPython. %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +rm -r tests/__pycache__ +%pytest + %files %{python_files} %doc CHANGELOG README.md %{python_sitelib}/* diff --git a/redbaron-0.8.tar.gz b/redbaron-0.8.tar.gz deleted file mode 100644 index 477f13f..0000000 --- a/redbaron-0.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e3d3f71d0fa5259c22231215b9931f3adede0b39c559fa2b84daa0bde0715f2f -size 27036 diff --git a/redbaron-0.9.2.tar.gz b/redbaron-0.9.2.tar.gz new file mode 100644 index 0000000..a36ca2b --- /dev/null +++ b/redbaron-0.9.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:472d0739ca6b2240bb2278ae428604a75472c9c12e86c6321e8c016139c0132f +size 709401