Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-black for openSUSE:Factory checked in at 2022-04-12 00:13:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-black (Old) and /work/SRC/openSUSE:Factory/.python-black.new.1900 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-black" Tue Apr 12 00:13:47 2022 rev:14 rq:967998 version:22.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-black/python-black.changes 2022-03-31 17:18:10.765616742 +0200 +++ /work/SRC/openSUSE:Factory/.python-black.new.1900/python-black.changes 2022-04-12 00:13:48.541386793 +0200 @@ -1,0 +2,39 @@ +Sat Apr 9 02:02:54 UTC 2022 - Arun Persaud <a...@gmx.de> + +- specfile: + * removed black-primer + +- update to version 22.3.0: + * Preview style + + Code cell separators #%% are now standardised to # %% (#2919) + + Remove unnecessary parentheses from except statements (#2939) + + Remove unnecessary parentheses from tuple unpacking in for loops + (#2945) + + Avoid magic-trailing-comma in single-element subscripts (#2942) + * Configuration + + Do not format __pypackages__ directories by default (#2836) + + Add support for specifying stable version with + --required-version (#2832). + + Avoid crashing when the user has no homedir (#2814) + + Avoid crashing when md5 is not available (#2905) + + Fix handling of directory junctions on Windows (#2904) + * Documentation + + Update pylint config documentation (#2931) + * Integrations + + Move test to disable plugin in Vim/Neovim, which speeds up + loading (#2896) + * Output + + In verbose, mode, log when Black is using user-level config + (#2861) + * Packaging + + Fix Black to work with Click 8.1.0 (#2966) + + On Python 3.11 and newer, use the standard library's tomllib + instead of tomli (#2903) + + black-primer, the deprecated internal devtool, has been removed + and copied to a separate repository (#2924) + * Parser + + Black can now parse starred expressions in the target of for and + async for statements, e.g for item in *items_1, *items_2: pass + (#2879). + +------------------------------------------------------------------- Old: ---- black-22.1.0.tar.gz New: ---- black-22.3.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-black.spec ++++++ --- /var/tmp/diff_new_pack.g752o2/_old 2022-04-12 00:13:49.273378129 +0200 +++ /var/tmp/diff_new_pack.g752o2/_new 2022-04-12 00:13:49.281378034 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-black -Version: 22.1.0 +Version: 22.3.0 Release: 0 Summary: A code formatter written in, and written for Python License: MIT @@ -50,6 +50,9 @@ Requires: python-pathspec >= 0.9.0 Requires: python-platformdirs >= 2 Requires: python-tomli >= 1.1.0 +Requires(post): update-alternatives +Requires(postun):update-alternatives +BuildArch: noarch %if 0%{?python_version_nodots} < 37 Requires: python-dataclasses %endif @@ -59,9 +62,6 @@ %if 0%{?python_version_nodots} < 310 Requires: python-typing_extensions >= 3.10.0.0 %endif -Requires(post): update-alternatives -Requires(postun):update-alternatives -BuildArch: noarch %python_subpackages %description @@ -77,7 +77,6 @@ %prep %autosetup -p1 -n black-%{version} -sed -i '1{/#!/d}' src/black_primer/cli.py src/black_primer/lib.py %build %python_build @@ -86,10 +85,7 @@ %python_install %python_clone -a %{buildroot}%{_bindir}/black %python_clone -a %{buildroot}%{_bindir}/blackd -%python_clone -a %{buildroot}%{_bindir}/black-primer -%{python_expand cp src/black_primer/primer.json %{buildroot}%{$python_sitelib}/black_primer/ -%fdupes %{buildroot}%{$python_sitelib} -} +%{python_expand %fdupes %{buildroot}%{$python_sitelib}} %check # Copy one of the executable scripts into the PATH @@ -103,7 +99,7 @@ %pytest -k "not ($skiptests)" %post -%python_install_alternative black blackd black-primer +%python_install_alternative black blackd %postun %python_uninstall_alternative black @@ -113,9 +109,7 @@ %license LICENSE %python_alternative %{_bindir}/black %python_alternative %{_bindir}/blackd -%python_alternative %{_bindir}/black-primer %{python_sitelib}/_black_version.py* -%{python_sitelib}/black_primer/ %{python_sitelib}/black/ %{python_sitelib}/blackd/ %{python_sitelib}/blib2to3/ ++++++ black-22.1.0.tar.gz -> black-22.3.0.tar.gz ++++++ ++++ 4077 lines of diff (skipped)