Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-python-lsp-server for
openSUSE:Factory checked in at 2023-05-10 16:18:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-lsp-server (Old)
and /work/SRC/openSUSE:Factory/.python-python-lsp-server.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-lsp-server"
Wed May 10 16:18:11 2023 rev:22 rq:1085800 version:1.7.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-python-lsp-server/python-python-lsp-server.changes
2023-04-28 16:24:21.370356185 +0200
+++
/work/SRC/openSUSE:Factory/.python-python-lsp-server.new.1533/python-python-lsp-server.changes
2023-05-10 16:18:14.898876685 +0200
@@ -1,0 +2,7 @@
+Tue May 9 20:07:36 UTC 2023 - Ben Greiner <[email protected]>
+
+- Unpin yapf
+ * Add python-lsp-server-pr377-unpin-yapf.patch
+ * gh#python-lsp/python-lsp-server#377
+
+-------------------------------------------------------------------
New:
----
python-lsp-server-pr377-unpin-yapf.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-python-lsp-server.spec ++++++
--- /var/tmp/diff_new_pack.DZKWs4/_old 2023-05-10 16:18:15.606880873 +0200
+++ /var/tmp/diff_new_pack.DZKWs4/_new 2023-05-10 16:18:15.610880897 +0200
@@ -23,6 +23,8 @@
License: MIT
URL: https://github.com/python-lsp/python-lsp-server
Source:
https://files.pythonhosted.org/packages/source/p/python-lsp-server/python-lsp-server-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM python-lsp-server-pr377-unpin-yapf.patch
gh#python-lsp/python-lsp-server#377
+Patch0: python-lsp-server-pr377-unpin-yapf.patch
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 61.2}
@@ -45,11 +47,9 @@
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-lsp-jsonrpc >= 1.0.0}
BuildRequires: %{python_module rope >= 1.2.0}
-# gh#python-lsp/python-lsp-server#346
-BuildRequires: %{python_module toml if %python-yapf <= 0.32.0 else
%python-tomli}
BuildRequires: %{python_module ujson >= 3.0.0}
BuildRequires: %{python_module whatthepatch >= 1.0.2 with
%python-whatthepatch < 2}
-BuildRequires: %{python_module yapf < 0.32.1}
+BuildRequires: %{python_module yapf >= 0.33}
# /SECTION
BuildRequires: fdupes
Requires: python-docstring-to-markdown
@@ -65,9 +65,7 @@
Suggests: python-pylint >= 2.5.0
Conflicts: python-pylint >= 3
Suggests: python-rope >= 1.2.0
-Suggests: python-yapf
-Conflicts: python-yapf >= 0.32.1
-Suggests: python-toml
+Suggests: python-yapf >= 0.33
Suggests: python-whatthepatch >= 1.0.2
Conflicts: python-whatthepatch >= 2
# SECTION flake8 pins
++++++ python-lsp-server-pr377-unpin-yapf.patch ++++++
>From b2df1b92559a07defed27f26a364acc5a6837fce Mon Sep 17 00:00:00 2001
From: Ben Greiner <[email protected]>
Date: Tue, 9 May 2023 22:02:43 +0200
Subject: [PATCH] Update yapf requirement
---
pyproject.toml | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
index 1dc01fa..7e62d24 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -35,8 +35,7 @@ all = [
"pyflakes>=2.5.0,<3.1.0",
"pylint>=2.5.0,<3",
"rope>1.2.0",
- "yapf<=0.32.0",
- "toml",
+ "yapf>=0.33.0",
"whatthepatch>=1.0.2,<2.0.0"
]
autopep8 = ["autopep8>=1.6.0,<2.1.0"]
@@ -47,7 +46,7 @@ pydocstyle = ["pydocstyle>=6.3.0,<6.4.0"]
pyflakes = ["pyflakes>=2.5.0,<3.1.0"]
pylint = ["pylint>=2.5.0,<3"]
rope = ["rope>1.2.0"]
-yapf = ["yapf<=0.32.0", "whatthepatch>=1.0.2,<2.0.0", "toml"]
+yapf = ["yapf>=0.33.0", "whatthepatch>=1.0.2,<2.0.0"]
websockets = ["websockets>=10.3"]
test = [
"pylint>=2.5.0,<3",