From de20fda3d916acb67c99eba4e077ef1d8261367ff3fed3218dc4c29304b5de90 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 16 Nov 2023 17:32:01 +0000 Subject: [PATCH] - update to 23.11.0: * Support formatting ranges of lines with the new `--line- ranges` command-line option * Fix crash on formatting bytes strings that look like docstrings (#4003) * Fix crash when whitespace followed a backslash before newline in a docstring (#4008) * Fix standalone comments inside complex blocks crashing Black * Fix crash on formatting code like `await (a ** b)` (#3994) * No longer treat leading f-strings as docstrings. This matches Python's behaviour and fixes a crash (#4019) * Consistently apply force exclusion logic before resolving symlinks (#4015) * Fix a bug in the matching of absolute path names in `--include` (#3976) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-black?expand=0&rev=52 --- black-23.10.1.tar.gz | 3 --- black-23.11.0.tar.gz | 3 +++ python-black.changes | 19 +++++++++++++++++++ python-black.spec | 2 +- 4 files changed, 23 insertions(+), 4 deletions(-) delete mode 100644 black-23.10.1.tar.gz create mode 100644 black-23.11.0.tar.gz diff --git a/black-23.10.1.tar.gz b/black-23.10.1.tar.gz deleted file mode 100644 index 968ed1d..0000000 --- a/black-23.10.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1f8ce316753428ff68749c65a5f7844631aa18c8679dfd3ca9dc1a289979c258 -size 597307 diff --git a/black-23.11.0.tar.gz b/black-23.11.0.tar.gz new file mode 100644 index 0000000..0524f64 --- /dev/null +++ b/black-23.11.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4c68855825ff432d197229846f971bc4d6666ce90492e5b02013bcaca4d9ab05 +size 615416 diff --git a/python-black.changes b/python-black.changes index 0b05f61..6ce7a38 100644 --- a/python-black.changes +++ b/python-black.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Thu Nov 16 17:31:29 UTC 2023 - Dirk Müller + +- update to 23.11.0: + * Support formatting ranges of lines with the new `--line- + ranges` command-line option + * Fix crash on formatting bytes strings that look like + docstrings (#4003) + * Fix crash when whitespace followed a backslash before newline + in a docstring (#4008) + * Fix standalone comments inside complex blocks crashing Black + * Fix crash on formatting code like `await (a ** b)` (#3994) + * No longer treat leading f-strings as docstrings. This matches + Python's behaviour and fixes a crash (#4019) + * Consistently apply force exclusion logic before resolving + symlinks (#4015) + * Fix a bug in the matching of absolute path names in + `--include` (#3976) + ------------------------------------------------------------------- Tue Oct 24 16:05:14 UTC 2023 - Dirk Müller diff --git a/python-black.spec b/python-black.spec index 13be048..a8707d8 100644 --- a/python-black.spec +++ b/python-black.spec @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-black -Version: 23.10.1 +Version: 23.11.0 Release: 0 Summary: A code formatter written in, and written for Python License: MIT