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 2024-12-26 12:24:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-lsp-server (Old)
and /work/SRC/openSUSE:Factory/.python-python-lsp-server.new.1881 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-lsp-server"
Thu Dec 26 12:24:27 2024 rev:38 rq:1233320 version:1.12.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-python-lsp-server/python-python-lsp-server.changes
2024-11-19 22:23:53.193877950 +0100
+++
/work/SRC/openSUSE:Factory/.python-python-lsp-server.new.1881/python-python-lsp-server.changes
2024-12-26 12:24:49.040786500 +0100
@@ -1,0 +2,9 @@
+Wed Dec 25 09:59:30 UTC 2024 - Ben Greiner <[email protected]>
+
+- Add pylsp-issues-602-605.patch
+ * Changed fuzzy jedi completion
+ gh#python-lsp/python-lsp-server#602
+ * Disable DEBUG logging for tests
+ gh#python-lsp/python-lsp-server#605
+
+-------------------------------------------------------------------
New:
----
pylsp-issues-602-605.patch
BETA DEBUG BEGIN:
New:
- Add pylsp-issues-602-605.patch
* Changed fuzzy jedi completion
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-python-lsp-server.spec ++++++
--- /var/tmp/diff_new_pack.8N9CeM/_old 2024-12-26 12:24:49.608809773 +0100
+++ /var/tmp/diff_new_pack.8N9CeM/_new 2024-12-26 12:24:49.612809937 +0100
@@ -26,6 +26,8 @@
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
+# PATCH-FIX-UPSTREAM pylsp-issues-602-605.patch
gh#python-lsp/python-lsp-server#602 gh#python-lsp/python-lsp-server#605
+Patch2: pylsp-issues-602-605.patch
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 61.2}
++++++ pylsp-issues-602-605.patch ++++++
* Changed fuzzy jedi completion
gh#python-lsp/python-lsp-server#602
* Disable DEBUG logging for tests
gh#python-lsp/python-lsp-server#605
diff -ur python_lsp_server-1.12.0.orig/test/conftest.py
python_lsp_server-1.12.0/test/conftest.py
--- python_lsp_server-1.12.0.orig/test/conftest.py 2024-12-25
11:04:59.271951606 +0100
+++ python_lsp_server-1.12.0/test/conftest.py 2024-12-25 11:05:15.935801063
+0100
@@ -7,7 +7,7 @@
from pylsp.__main__ import LOG_FORMAT
-logging.basicConfig(level=logging.DEBUG, format=LOG_FORMAT)
+logging.basicConfig(level=logging.WARN, format=LOG_FORMAT)
pytest_plugins = ["test.fixtures"]
diff -ur python_lsp_server-1.12.0.orig/test/plugins/test_completion.py
python_lsp_server-1.12.0/test/plugins/test_completion.py
--- python_lsp_server-1.12.0.orig/test/plugins/test_completion.py
2024-12-25 11:04:59.271951606 +0100
+++ python_lsp_server-1.12.0/test/plugins/test_completion.py 2024-12-25
11:12:34.059344572 +0100
@@ -182,6 +182,8 @@
expected = "commonprefix(m)"
if JEDI_VERSION == "0.18.0":
expected = "commonprefix(list)"
+ if tuple([int(i) for i in JEDI_VERSION.split(".")]) >= (0,19,2):
+ expected = "isabs(s)"
assert items[0]["label"] == expected
# Test we don't throw with big character