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 2026-05-23 23:26:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-lsp-server (Old)
and /work/SRC/openSUSE:Factory/.python-python-lsp-server.new.2084 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-lsp-server"
Sat May 23 23:26:27 2026 rev:46 rq:1354814 version:1.14.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-python-lsp-server/python-python-lsp-server.changes
2026-05-12 19:28:43.896217944 +0200
+++
/work/SRC/openSUSE:Factory/.python-python-lsp-server.new.2084/python-python-lsp-server.changes
2026-05-23 23:28:22.239145067 +0200
@@ -1,0 +2,10 @@
+Fri May 22 22:26:00 UTC 2026 - Matej Cepl <[email protected]>
+
+- Rename unpin-autopep8.patch to unpin.patch (it unpins jedi as
+ well)
+- Delete renamed unpin.patch
+- Add compatibility_with_current_jedi.patch to make
+ python-lsp-server compatible with the current jedi 0.20.*
+ (gh#python-lsp/python-lsp-server!711).
+
+-------------------------------------------------------------------
Old:
----
unpin-autopep8.patch
New:
----
compatibility_with_current_jedi.patch
unpin.patch
----------(Old B)----------
Old:
- Rename unpin-autopep8.patch to unpin.patch (it unpins jedi as
well)
----------(Old E)----------
----------(New B)----------
New:- Delete renamed unpin.patch
- Add compatibility_with_current_jedi.patch to make
python-lsp-server compatible with the current jedi 0.20.*
New:
- Rename unpin-autopep8.patch to unpin.patch (it unpins jedi as
well)
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-python-lsp-server.spec ++++++
--- /var/tmp/diff_new_pack.olnIYb/_old 2026-05-23 23:28:22.863170542 +0200
+++ /var/tmp/diff_new_pack.olnIYb/_new 2026-05-23 23:28:22.863170542 +0200
@@ -30,7 +30,10 @@
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
-Patch1: unpin-autopep8.patch
+Patch1: unpin.patch
+# PATCH-FIX-UPSTREAM compatibility_with_current_jedi.patch
gh#python-lsp/python-lsp-server!711 [email protected]
+# make python-lsp-server compatible with the current jedi 0.20.*
+Patch2: compatibility_with_current_jedi.patch
BuildRequires: %{python_module base >= 3.9}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 61.2}
@@ -44,7 +47,7 @@
BuildRequires: %{python_module docstring-to-markdown}
BuildRequires: %{python_module flaky}
BuildRequires: %{python_module importlib_metadata > 4.8.3 if %python-base <
3.10}
-BuildRequires: %{python_module jedi >= 0.17.2 with %python-jedi < 0.20}
+BuildRequires: %{python_module jedi >= 0.17.2}
BuildRequires: %{python_module matplotlib}
BuildRequires: %{python_module numpy}
BuildRequires: %{python_module pandas}
@@ -67,10 +70,10 @@
BuildRequires: fdupes
Requires: python-black
Requires: python-docstring-to-markdown
+Requires: python-jedi >= 0.17.2
Requires: python-pluggy >= 1.0.0
Requires: python-ujson >= 3.0.0
Requires: (python-importlib_metadata >= 4.8.3 if python-base < 3.10)
-Requires: (python-jedi >= 0.17.2 with python-jedi < 0.20)
Requires: (python-python-lsp-jsonrpc >= 1.1.0 with
python-python-lsp-jsonrpc < 2)
BuildArch: noarch
%if %{with libalternatives}
++++++ compatibility_with_current_jedi.patch ++++++
---
test/plugins/test_completion.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: python_lsp_server-1.14.0/test/plugins/test_completion.py
===================================================================
--- python_lsp_server-1.14.0.orig/test/plugins/test_completion.py
2025-12-03 19:38:36.000000000 +0100
+++ python_lsp_server-1.14.0/test/plugins/test_completion.py 2026-05-23
00:34:06.665368255 +0200
@@ -334,8 +334,8 @@
com_position = {"line": 1, "character": len(doc_snippets)}
completions = pylsp_jedi_completions(config, doc, com_position)
- assert completions[0]["insertText"] == "defaultdict($0)"
- assert completions[0]["insertTextFormat"] == lsp.InsertTextFormat.Snippet
+ assert completions[0]["insertText"] == "defaultdict()"
+ assert not completions[0].get("insertTextFormat", None)
def test_snippets_completion_at_most(config, workspace) -> None:
++++++ unpin-autopep8.patch -> unpin.patch ++++++
--- /work/SRC/openSUSE:Factory/python-python-lsp-server/unpin-autopep8.patch
2026-05-12 19:28:43.908218441 +0200
+++ /work/SRC/openSUSE:Factory/.python-python-lsp-server.new.2084/unpin.patch
2026-05-23 23:28:22.403151762 +0200
@@ -1,11 +1,20 @@
---
- pyproject.toml | 11 +++++------
- 1 file changed, 5 insertions(+), 6 deletions(-)
+ pyproject.toml | 13 ++++++-------
+ 1 file changed, 6 insertions(+), 7 deletions(-)
Index: python_lsp_server-1.14.0/pyproject.toml
===================================================================
--- python_lsp_server-1.14.0.orig/pyproject.toml 2025-12-06
16:53:29.000000000 +0100
-+++ python_lsp_server-1.14.0/pyproject.toml 2026-05-11 22:59:16.900587779
+0200
++++ python_lsp_server-1.14.0/pyproject.toml 2026-05-22 23:48:26.408166837
+0200
+@@ -16,7 +16,7 @@
+ dependencies = [
+ "docstring-to-markdown",
+ "importlib_metadata>=4.8.3;python_version<\"3.10\"",
+- "jedi>=0.17.2,<0.20.0",
++ "jedi>=0.17.2",
+ "pluggy>=1.0.0",
+ "python-lsp-jsonrpc>=1.1.0,<2.0.0",
+ "ujson>=3.0.0",
@@ -29,18 +29,18 @@
[project.optional-dependencies]