From a51152c39bebd6f0c877a8a7504e5711919d39459d5048338c9392d8c7e81112 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Thu, 27 Oct 2022 17:17:44 +0000 Subject: [PATCH] - Update to 1.2.1 * This release disables autopep8 and yapf plugins to avoid conflicts with black. * black minimum version has been increased to 22.3.0 because of an incompatibility with new versions of click. - Enable test suite OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-black?expand=0&rev=9 --- python-lsp-black-1.2.0.tar.gz | 3 --- python-lsp-black-1.2.1-gh.tar.gz | 3 +++ python-python-lsp-black.changes | 10 ++++++++++ python-python-lsp-black.spec | 13 +++++++------ 4 files changed, 20 insertions(+), 9 deletions(-) delete mode 100644 python-lsp-black-1.2.0.tar.gz create mode 100644 python-lsp-black-1.2.1-gh.tar.gz diff --git a/python-lsp-black-1.2.0.tar.gz b/python-lsp-black-1.2.0.tar.gz deleted file mode 100644 index 9f5d511..0000000 --- a/python-lsp-black-1.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:135ed1af3a14463cf5b6bb5fff4f95c6da5a030e9192ab042ca63febcb0af9d4 -size 5378 diff --git a/python-lsp-black-1.2.1-gh.tar.gz b/python-lsp-black-1.2.1-gh.tar.gz new file mode 100644 index 0000000..1320c7f --- /dev/null +++ b/python-lsp-black-1.2.1-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1df12c5d3f6407040dd0020a918ed98b20c1ba68720e662f7c8044ed15f87186 +size 9355 diff --git a/python-python-lsp-black.changes b/python-python-lsp-black.changes index 31fa0b3..a8cce61 100644 --- a/python-python-lsp-black.changes +++ b/python-python-lsp-black.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Thu Oct 27 17:12:59 UTC 2022 - Ben Greiner + +- Update to 1.2.1 + * This release disables autopep8 and yapf plugins to avoid + conflicts with black. + * black minimum version has been increased to 22.3.0 because of + an incompatibility with new versions of click. +- Enable test suite + ------------------------------------------------------------------- Sat Apr 9 22:46:36 UTC 2022 - Ben Greiner diff --git a/python-python-lsp-black.spec b/python-python-lsp-black.spec index eb21a4a..7ec5bb4 100644 --- a/python-python-lsp-black.spec +++ b/python-python-lsp-black.spec @@ -16,26 +16,24 @@ # -%{?!python_module:%define python_module() python3-%{**}} -%define skip_python2 1 Name: python-python-lsp-black -Version: 1.2.0 +Version: 1.2.1 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 +Source: https://github.com/python-lsp/python-lsp-black/archive/refs/tags/v%{version}.tar.gz#/python-lsp-black-%{version}-gh.tar.gz BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros # SECTION test requirements -BuildRequires: %{python_module black >= 22.1.0} +BuildRequires: %{python_module black >= 22.3.0} BuildRequires: %{python_module pytest} BuildRequires: %{python_module python-lsp-server >= 1.4.0} BuildRequires: %{python_module toml} # /SECTION BuildRequires: fdupes -Requires: python-black >= 22.1.0 +Requires: python-black >= 22.3.0 Requires: python-python-lsp-server Requires: python-toml BuildArch: noarch @@ -62,6 +60,9 @@ To avoid unexpected results you should make sure yapf and autopep8 are not insta %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +%pytest + %files %{python_files} %doc README.md %{python_sitelib}/pylsp_black