diff --git a/black-25.1.0.tar.gz b/black-25.1.0.tar.gz deleted file mode 100644 index 642b1f20bba75424351b89c4c4b7c2d73788ddd4..0000000000000000000000000000000000000000 Binary files a/black-25.1.0.tar.gz and /dev/null differ diff --git a/black-25.12.0.tar.gz b/black-25.12.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..c061b7550c583238128fcb415852c7da43a5f035 Binary files /dev/null and b/black-25.12.0.tar.gz differ diff --git a/python-black.spec b/python-black.spec index 74da0a3e1aa12ec99fcb55ed3a44127f01f737ce..3aacff602f14cc35c9dd732a7cc1ab3ee8318e9d 100644 --- a/python-black.spec +++ b/python-black.spec @@ -2,7 +2,7 @@ %global pypi_name black Name: python-%{pypi_name} -Version: 25.1.0 +Version: 25.12.0 Release: 1 Summary: The uncompromising code formatter License: MIT @@ -57,12 +57,28 @@ done %{_bindir}/black-%{python3_version} %{_bindir}/blackd %{_bindir}/blackd-%{python3_version} -%{python3_sitelib}/_black_version.py +%{python3_sitelib}/_black_version* %{python3_sitelib}/__pycache__/* %{python3_sitelib}/black* %{python3_sitelib}/blib2to3/* %changelog +* Wed Dec 10 2025 YangengLiu - 25.12.0-1 +- Update version to 25.12.0 +- Add regression tests for Black’s previous inconsistent quote formatting with adjacent string literals +- Fix parser for TypeVar bounds +- Fix bug where # fmt: skip is not being respected with one-liner functions +- Replace the blib2to3 tokenizer with pytokens +- Fix crash when a tuple is used as a ContextManager +- Fix backslash cr nl bug +- Fix bug where module docstrings would be treated as normal strings if preceded by comments。 +- fix(3.12_generics_syntax): Fixed formatting of 3.12 generics syntax +- Add --no-cache option to prevent cache during formatting +- Drop support for EOL Python 3.9 +- Fix crashes when fmt directives are indented +- Fix crash when multiple # fmt: skip comments are used in multi-part if-clause +- Fix new lines being added after imports with # fmt: skip on them + * Wed May 14 2025 Dongxing Wang - 25.1.0-1 - Update package to version 25.1.0 Normalize casing of Unicode escape characters in strings to lowercase