From 4a6b3f8dd4bcc8aa219ed9c3b77dea1cf07077c6c29da052e7828611cde1c111 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Sat, 9 Apr 2022 21:21:30 +0000 Subject: [PATCH] Accepting request 968060 from home:bnavigator:branches:devel:languages:python:numeric - Update to 1.2.0 * This release fixes formatting of Python files with non-UNIX line endings, adds plugin configuration support and black configuration caching to improve performance. * Official support for Python 3.10 by @wlcx (PR 31). * Correctly format files and ranges with line endings other than LF by @ccordoba12 (PR 28). * Plugin configuration support and black configuration caching by @ccordoba12 and @haplo (PR 26). * Fixed PyPI badge in Readme (PR 32). * Updated pre-commit hooks' versions (PR 33). OBS-URL: https://build.opensuse.org/request/show/968060 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-black?expand=0&rev=5 --- python-lsp-black-1.1.0.tar.gz | 3 --- python-lsp-black-1.2.0.tar.gz | 3 +++ python-python-lsp-black.changes | 15 +++++++++++++++ python-python-lsp-black.spec | 7 ++++--- 4 files changed, 22 insertions(+), 6 deletions(-) delete mode 100644 python-lsp-black-1.1.0.tar.gz create mode 100644 python-lsp-black-1.2.0.tar.gz diff --git a/python-lsp-black-1.1.0.tar.gz b/python-lsp-black-1.1.0.tar.gz deleted file mode 100644 index ecd1214..0000000 --- a/python-lsp-black-1.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4f665aca0fd1611f9e2a4c1ea09de8809810bbe5013eeee5dfb8796c90a12d4c -size 4367 diff --git a/python-lsp-black-1.2.0.tar.gz b/python-lsp-black-1.2.0.tar.gz new file mode 100644 index 0000000..9f5d511 --- /dev/null +++ b/python-lsp-black-1.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:135ed1af3a14463cf5b6bb5fff4f95c6da5a030e9192ab042ca63febcb0af9d4 +size 5378 diff --git a/python-python-lsp-black.changes b/python-python-lsp-black.changes index 072dcf9..8dd0fe4 100644 --- a/python-python-lsp-black.changes +++ b/python-python-lsp-black.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Sat Apr 9 21:17:31 UTC 2022 - Ben Greiner + +- Update to 1.2.0 + * This release fixes formatting of Python files with non-UNIX + line endings, adds plugin configuration support and black + configuration caching to improve performance. + * Official support for Python 3.10 by @wlcx (PR 31). + * Correctly format files and ranges with line endings other than + LF by @ccordoba12 (PR 28). + * Plugin configuration support and black configuration caching by + @ccordoba12 and @haplo (PR 26). + * Fixed PyPI badge in Readme (PR 32). + * Updated pre-commit hooks' versions (PR 33). + ------------------------------------------------------------------- Fri Mar 25 12:39:20 UTC 2022 - Ben Greiner diff --git a/python-python-lsp-black.spec b/python-python-lsp-black.spec index fbcd813..8af5c4a 100644 --- a/python-python-lsp-black.spec +++ b/python-python-lsp-black.spec @@ -19,18 +19,19 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-python-lsp-black -Version: 1.1.0 +Version: 1.2.0 Release: 0 Summary: Black plugin for the Python LSP Server License: MIT URL: https://github.com/python-lsp/python-lsp-black Source: https://files.pythonhosted.org/packages/source/p/python-lsp-black/python-lsp-black-%{version}.tar.gz +BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros # SECTION test requirements -BuildRequires: %{python_module black >= 19.3b0} +BuildRequires: %{python_module black >= 22.1.0} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module python-lsp-server} +BuildRequires: %{python_module python-lsp-server >= 1.4.0} BuildRequires: %{python_module toml} # /SECTION BuildRequires: fdupes