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 2023-04-05 21:28:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-black (Old) and /work/SRC/openSUSE:Factory/.python-black.new.19717 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-black" Wed Apr 5 21:28:41 2023 rev:17 rq:1077524 version:23.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-black/python-black.changes 2022-09-15 22:57:29.212926815 +0200 +++ /work/SRC/openSUSE:Factory/.python-black.new.19717/python-black.changes 2023-04-05 21:36:06.482723589 +0200 @@ -1,0 +2,23 @@ +Mon Apr 3 18:49:11 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- update to 23.3.0: + * Import lines with `# fmt: skip` and `# fmt: off` no longer + have an extra blank line added when they are right after + another import line (#3610) + * Added support for formatting files with invalid type comments + * Document that only the most recent release is supported for + security issues; + * Introduce the 2023 stable style, which incorporates most + aspects of last year's preview style (#3418). + * Enforce empty lines before classes and functions with sticky + leading comments + * Reformat empty and whitespace-only files as either an empty + file (if no newline is present) or as a single newline character + (if a newline is present) (#3348) + * Correctly handle trailing commas that are inside a line's + leading non-nested parens + * `--skip-string-normalization` / `-S` now prevents docstring + prefixes from being + * Details see https://github.com/psf/black/releases/tag/23.3.0 + +------------------------------------------------------------------- Old: ---- black-22.8.0.tar.gz New: ---- black-23.3.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-black.spec ++++++ --- /var/tmp/diff_new_pack.apm5cW/_old 2023-04-05 21:36:07.010726603 +0200 +++ /var/tmp/diff_new_pack.apm5cW/_new 2023-04-05 21:36:07.014726626 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-black # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,10 +16,8 @@ # -%{?!python_module:%define python_module() python3-%{**}} -%define skip_python2 1 Name: python-black -Version: 22.8.0 +Version: 23.3.0 Release: 0 Summary: A code formatter written in, and written for Python License: MIT @@ -28,18 +26,22 @@ BuildRequires: %{python_module aiohttp >= 3.3.2} BuildRequires: %{python_module aiohttp_cors} BuildRequires: %{python_module attrs >= 18.1.0} -BuildRequires: %{python_module base >= 3.6} +BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module click >= 8.0.0} BuildRequires: %{python_module dataclasses if %python-base < 3.7} +BuildRequires: %{python_module hatch-fancy-pypi-readme} +BuildRequires: %{python_module hatch_vcs} +BuildRequires: %{python_module hatchling >= 1.8.0} BuildRequires: %{python_module mypy_extensions >= 0.4.3} +BuildRequires: %{python_module packaging} BuildRequires: %{python_module pathspec >= 0.9.0} +BuildRequires: %{python_module pip} BuildRequires: %{python_module platformdirs >= 2} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools_scm} -BuildRequires: %{python_module setuptools} BuildRequires: %{python_module tomli >= 1.1.0} BuildRequires: %{python_module typed-ast >= 1.4.2 if %python-base < 3.8} BuildRequires: %{python_module typing_extensions >= 3.10.0.0 if %python-base < 3.10} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-aiohttp >= 3.3.2 @@ -47,6 +49,7 @@ Requires: python-attrs >= 18.1.0 Requires: python-click >= 8.0.0 Requires: python-mypy_extensions >= 0.4.3 +Requires: python-packaging Requires: python-pathspec >= 0.9.0 Requires: python-platformdirs >= 2 Requires: python-tomli >= 1.1.0 @@ -79,10 +82,10 @@ %autosetup -p1 -n black-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/black %python_clone -a %{buildroot}%{_bindir}/blackd %{python_expand %fdupes %{buildroot}%{$python_sitelib}} ++++++ black-22.8.0.tar.gz -> black-23.3.0.tar.gz ++++++ ++++ 15140 lines of diff (skipped)