Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-autoflake for openSUSE:Factory checked in at 2023-12-15 21:50:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-autoflake (Old) and /work/SRC/openSUSE:Factory/.python-autoflake.new.25432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-autoflake" Fri Dec 15 21:50:01 2023 rev:11 rq:1133401 version:2.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-autoflake/python-autoflake.changes 2023-08-01 14:16:46.303925349 +0200 +++ /work/SRC/openSUSE:Factory/.python-autoflake.new.25432/python-autoflake.changes 2023-12-15 21:50:20.308891861 +0100 @@ -1,0 +2,28 @@ +Thu Dec 14 09:15:04 UTC 2023 - Petr Gajdos <pgaj...@suse.com> + +- update to 2.2.1: + * Add type annotations and validate with pyright + * Remove test_fuzz_pypi + * Revert "Support .toml configuration format with --config flag + * Support .toml configuration format with --config flag + * Fix a typo in a link to pre-commit + * Update standard_paths so it only checks existing directories + * Upgrade minimum version of pyflakes + * Add upper limit to pyflake's version <3.0 to support handling + of python 2.x + * fix: Ignore pass multiple lines after docstring with flag + * Fixed multiprocessing issue on win64 with more than 60 cores + * Fix default value for `--imports` + * Use regular dictionary instead of defaultdict + * Properly consider options from config file and flags + * Update merge_configuration_file to prefer values from flags + * Unified output to stdout when using --check + * add config-file option + * Fix Namespace check + * Add --check-diff flag which combines check and diff + * Use black for formatting code + * Migrate to tomli + * PEP 621: Migrate to pyproject.toml + * Add option to keep pass statements + +------------------------------------------------------------------- Old: ---- autoflake-1.5.3.tar.gz New: ---- autoflake-2.2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-autoflake.spec ++++++ --- /var/tmp/diff_new_pack.QQPBvi/_old 2023-12-15 21:50:20.952915557 +0100 +++ /var/tmp/diff_new_pack.QQPBvi/_new 2023-12-15 21:50:20.952915557 +0100 @@ -17,21 +17,21 @@ Name: python-autoflake -Version: 1.5.3 +Version: 2.2.1 Release: 0 Summary: Program to removes unused Python imports and variables License: MIT URL: https://github.com/myint/autoflake Source: https://files.pythonhosted.org/packages/source/a/autoflake/autoflake-%{version}.tar.gz +Requires: python-tomli BuildRequires: %{python_module base >= 3.7} +BuildRequires: %{python_module hatchling} BuildRequires: %{python_module pip} -BuildRequires: %{python_module pyflakes >= 1.1.0} -BuildRequires: %{python_module toml >= 0.10.2} +BuildRequires: %{python_module pyflakes >= 3.0.0} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-pyflakes >= 1.1.0 -Requires: python-toml >= 0.10.2 +Requires: python-pyflakes >= 3.0.0 Requires(post): update-alternatives Requires(postun):update-alternatives BuildArch: noarch @@ -49,14 +49,16 @@ autoflake also removes useless pass statements. %prep -%setup -q -n autoflake-%{version} +%autosetup -p1 -n autoflake-%{version} sed -i '1{/env python/d}' autoflake.py +chmod -x autoflake.py %build %pyproject_wheel %install %pyproject_install +%python_expand rm %{buildroot}%{$python_sitelib}/{LICENSE,README.md,test*.py,__pycache__/test*.pyc} %python_clone -a %{buildroot}%{_bindir}/autoflake %fdupes %{buildroot}%{$python_sitelib} ++++++ autoflake-1.5.3.tar.gz -> autoflake-2.2.1.tar.gz ++++++ ++++ 6804 lines of diff (skipped)