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 2024-01-29 22:26:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-black (Old) and /work/SRC/openSUSE:Factory/.python-black.new.1815 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-black" Mon Jan 29 22:26:55 2024 rev:25 rq:1142193 version:24.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-black/python-black.changes 2024-01-05 22:58:43.696383337 +0100 +++ /work/SRC/openSUSE:Factory/.python-black.new.1815/python-black.changes 2024-01-29 22:27:01.221105096 +0100 @@ -1,0 +2,73 @@ +Mon Jan 29 08:51:18 UTC 2024 - Dirk Müller <[email protected]> + +- update to 24.1.0: + * Add parentheses around `if`-`else` expressions + * Dummy class and function implementations consisting only of + `...` are formatted more compactly + * If an assignment statement is too long, we now prefer + splitting on the right-hand side + * Hex codes in Unicode escape sequences are now standardized to + lowercase + * Allow empty first lines at the beginning of most blocks + * Add parentheses around long type annotations + * Enforce newline after module docstrings + * Fix incorrect magic trailing comma handling in return types + * Remove blank lines before class docstrings + * Wrap multiple context managers in parentheses if combined in + a single `with` statement + * Fix bug in line length calculations for power operations + * Add trailing commas to collection literals even if there's a + comment after the last entry + * When using `--skip-magic-trailing-comma` or `-C`, trailing + commas are stripped from subscript expressions with more than + 1 element + * Add extra blank lines in stubs in a few cases + * Accept raw strings as docstrings + * Split long lines in case blocks + * Stop removing spaces from walrus operators within subscripts + * Fix incorrect formatting of certain async statements + * Allow combining `# fmt: skip` with other comments + * There are already a few improvements in the `--preview` + style, which are slated for the 2025 stable style. Try them + out and share your feedback. In the past, the preview + style has included some features that we were not able to + stabilize. This year, we're adding a separate `--unstable` + style for features with known problems. Now, the `--preview` + style only includes features that we actually expect to make + it into next year's stable style. + * Fix comment handling when parenthesising conditional + expressions + * Fix bug where spaces were not added around parenthesized + walruses in subscripts, unlike other binary operators + * Remove empty lines before docstrings in async functions + * Address a missing case in the change to allow empty lines at + the beginning of all blocks, except immediately before a + docstring + * For stubs, fix logic to enforce empty line after nested + classes with bodies + * Add `--unstable` style, covering preview features that have + known problems that would block them from going into the + stable style. Also add the `--enable-unstable-feature` + flag; for example, use `--enable-unstable-feature + hug_parens_with_braces_and_square_brackets` to apply this + preview feature throughout 2024, even if a later Black + release downgrades the feature to unstable + * Format module docstrings the same as class and function + docstrings + * Fix crash when using a walrus in a dictionary + * Fix unnecessary parentheses when wrapping long dicts + * Stop normalizing spaces before `# fmt: skip` comments + * Print warning when configuration in `pyproject.toml` contains + an invalid key + * Fix symlink handling, properly ignoring symlinks that point + outside of root + * Fix cache mtime logic that resulted in false positive cache + hits + * Remove the long-deprecated `--experimental-string-processing` + flag. This feature can currently be enabled with `--preview + --enable-unstable- feature string_processing`. + * Revert the change to run Black's pre-commit integration only + on specific git hooks (#3940) for better compatibility with + older versions of pre-commit + +------------------------------------------------------------------- Old: ---- black-23.12.1.tar.gz New: ---- black-24.1.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-black.spec ++++++ --- /var/tmp/diff_new_pack.wFqPp1/_old 2024-01-29 22:27:02.109137283 +0100 +++ /var/tmp/diff_new_pack.wFqPp1/_new 2024-01-29 22:27:02.109137283 +0100 @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-black -Version: 23.12.1 +Version: 24.1.0 Release: 0 Summary: A code formatter written in, and written for Python License: MIT @@ -55,7 +55,7 @@ Requires: python-platformdirs >= 2 Requires: python-tomli >= 1.1.0 Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %if 0%{?python_version_nodots} < 311 Requires: python-typing_extensions >= 3.10.0.0 ++++++ black-23.12.1.tar.gz -> black-24.1.0.tar.gz ++++++ ++++ 6791 lines of diff (skipped)
