Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-python-lsp-black for
openSUSE:Factory checked in at 2022-10-28 19:30:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-lsp-black (Old)
and /work/SRC/openSUSE:Factory/.python-python-lsp-black.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-lsp-black"
Fri Oct 28 19:30:22 2022 rev:5 rq:1031605 version:1.2.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-python-lsp-black/python-python-lsp-black.changes
2022-04-10 01:34:22.549818697 +0200
+++
/work/SRC/openSUSE:Factory/.python-python-lsp-black.new.2275/python-python-lsp-black.changes
2022-10-28 19:30:44.550996062 +0200
@@ -1,0 +2,10 @@
+Thu Oct 27 17:12:59 UTC 2022 - Ben Greiner <[email protected]>
+
+- 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
+
+-------------------------------------------------------------------
Old:
----
python-lsp-black-1.2.0.tar.gz
New:
----
python-lsp-black-1.2.1-gh.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-python-lsp-black.spec ++++++
--- /var/tmp/diff_new_pack.fYDpgC/_old 2022-10-28 19:30:45.070998670 +0200
+++ /var/tmp/diff_new_pack.fYDpgC/_new 2022-10-28 19:30:45.078998710 +0200
@@ -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 @@
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%check
+%pytest
+
%files %{python_files}
%doc README.md
%{python_sitelib}/pylsp_black