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-03-17 22:15:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-lsp-server (Old)
and /work/SRC/openSUSE:Factory/.python-python-lsp-server.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-lsp-server"
Sun Mar 17 22:15:03 2024 rev:31 rq:1158465 version:1.10.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-python-lsp-server/python-python-lsp-server.changes
2024-03-02 23:24:29.205588067 +0100
+++
/work/SRC/openSUSE:Factory/.python-python-lsp-server.new.1905/python-python-lsp-server.changes
2024-03-17 22:15:26.607154610 +0100
@@ -1,0 +2,7 @@
+Sat Mar 16 12:52:02 UTC 2024 - Dirk Müller <[email protected]>
+
+- update to 1.10.1:
+ * Issue 529 - Autoimports: sqlite3.OperationalError: database
+ is locked (PR 530 by @last-partizan)
+
+-------------------------------------------------------------------
Old:
----
python-lsp-server-1.10.0.tar.gz
New:
----
python-lsp-server-1.10.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-python-lsp-server.spec ++++++
--- /var/tmp/diff_new_pack.sMPMRT/_old 2024-03-17 22:15:27.471186217 +0100
+++ /var/tmp/diff_new_pack.sMPMRT/_new 2024-03-17 22:15:27.475186363 +0100
@@ -19,7 +19,7 @@
%{?sle15_python_module_pythons}
Name: python-python-lsp-server
-Version: 1.10.0
+Version: 1.10.1
Release: 0
Summary: Python Language Server for the Language Server Protocol
License: MIT
++++++ python-lsp-server-1.10.0.tar.gz -> python-lsp-server-1.10.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-lsp-server-1.10.0/CHANGELOG.md
new/python-lsp-server-1.10.1/CHANGELOG.md
--- old/python-lsp-server-1.10.0/CHANGELOG.md 2024-01-21 17:18:55.000000000
+0100
+++ new/python-lsp-server-1.10.1/CHANGELOG.md 2024-03-13 03:26:47.000000000
+0100
@@ -1,5 +1,22 @@
# History of changes
+## Version 1.10.1 (2024/03/12)
+
+### Issues Closed
+
+* [Issue 529](https://github.com/python-lsp/python-lsp-server/issues/529) -
Autoimports: sqlite3.OperationalError: database is locked ([PR
530](https://github.com/python-lsp/python-lsp-server/pull/530) by
[@last-partizan](https://github.com/last-partizan))
+
+In this release 1 issue was closed.
+
+### Pull Requests Merged
+
+* [PR 530](https://github.com/python-lsp/python-lsp-server/pull/530) - Fix
progress reporting with autoimport plugin, by
[@last-partizan](https://github.com/last-partizan)
([529](https://github.com/python-lsp/python-lsp-server/issues/529))
+* [PR 528](https://github.com/python-lsp/python-lsp-server/pull/528) - Improve
error message about missing `websockets` module, by
[@tomplus](https://github.com/tomplus)
+
+In this release 2 pull requests were closed.
+
+----
+
## Version 1.10.0 (2024/01/21)
### New features
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-lsp-server-1.10.0/PKG-INFO
new/python-lsp-server-1.10.1/PKG-INFO
--- old/python-lsp-server-1.10.0/PKG-INFO 2024-01-21 17:21:48.231211400
+0100
+++ new/python-lsp-server-1.10.1/PKG-INFO 2024-03-13 03:29:44.546991000
+0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: python-lsp-server
-Version: 1.10.0
+Version: 1.10.1
Summary: Python Language Server for the Language Server Protocol
Author: Python Language Server Contributors
License: MIT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-lsp-server-1.10.0/pylsp/_utils.py
new/python-lsp-server-1.10.1/pylsp/_utils.py
--- old/python-lsp-server-1.10.0/pylsp/_utils.py 2024-01-21
16:55:09.000000000 +0100
+++ new/python-lsp-server-1.10.1/pylsp/_utils.py 2024-03-13
03:26:47.000000000 +0100
@@ -175,8 +175,8 @@
"""
Format plain text to display nicely in environments which do not respect
whitespaces.
"""
- contents = contents.replace("\t", "\u00A0" * 4)
- contents = contents.replace(" ", "\u00A0" * 2)
+ contents = contents.replace("\t", "\u00a0" * 4)
+ contents = contents.replace(" ", "\u00a0" * 2)
return contents
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-lsp-server-1.10.0/pylsp/_version.py
new/python-lsp-server-1.10.1/pylsp/_version.py
--- old/python-lsp-server-1.10.0/pylsp/_version.py 2024-01-21
17:21:48.000000000 +0100
+++ new/python-lsp-server-1.10.1/pylsp/_version.py 2024-03-13
03:29:44.000000000 +0100
@@ -1 +1 @@
-__version__ = "1.10.0"
+__version__ = "1.10.1"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-lsp-server-1.10.0/pylsp/plugins/flake8_lint.py
new/python-lsp-server-1.10.1/pylsp/plugins/flake8_lint.py
--- old/python-lsp-server-1.10.0/pylsp/plugins/flake8_lint.py 2024-01-21
16:55:09.000000000 +0100
+++ new/python-lsp-server-1.10.1/pylsp/plugins/flake8_lint.py 2024-03-13
03:26:47.000000000 +0100
@@ -2,6 +2,7 @@
# Copyright 2021- Python Language Server Contributors.
"""Linter pluging for flake8"""
+
import logging
import os.path
import re
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-lsp-server-1.10.0/pylsp/plugins/pylint_lint.py
new/python-lsp-server-1.10.1/pylsp/plugins/pylint_lint.py
--- old/python-lsp-server-1.10.0/pylsp/plugins/pylint_lint.py 2024-01-21
16:55:09.000000000 +0100
+++ new/python-lsp-server-1.10.1/pylsp/plugins/pylint_lint.py 2024-03-13
03:26:47.000000000 +0100
@@ -3,6 +3,7 @@
# Copyright 2021- Python Language Server Contributors.
"""Linter plugin for pylint."""
+
import collections
import logging
import os
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-lsp-server-1.10.0/pylsp/plugins/rope_autoimport.py
new/python-lsp-server-1.10.1/pylsp/plugins/rope_autoimport.py
--- old/python-lsp-server-1.10.0/pylsp/plugins/rope_autoimport.py
2024-01-21 16:55:09.000000000 +0100
+++ new/python-lsp-server-1.10.1/pylsp/plugins/rope_autoimport.py
2024-03-13 02:59:34.000000000 +0100
@@ -37,7 +37,7 @@
config: Config,
workspace: Workspace,
files: Optional[List[Document]] = None,
- single_thread: Optional[bool] = False,
+ single_thread: Optional[bool] = True,
):
if self.is_blocked():
return
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-lsp-server-1.10.0/pylsp/python_lsp.py
new/python-lsp-server-1.10.1/pylsp/python_lsp.py
--- old/python-lsp-server-1.10.0/pylsp/python_lsp.py 2024-01-21
16:55:09.000000000 +0100
+++ new/python-lsp-server-1.10.1/pylsp/python_lsp.py 2024-03-13
02:59:34.000000000 +0100
@@ -109,7 +109,7 @@
import websockets
except ImportError as e:
raise ImportError(
- "websocket modules missing. Please run pip install
'python-lsp-server[websockets]"
+ "websocket modules missing. Please run: pip install
'python-lsp-server[websockets]'"
) from e
with ThreadPoolExecutor(max_workers=10) as tpool:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-lsp-server-1.10.0/pylsp/uris.py
new/python-lsp-server-1.10.1/pylsp/uris.py
--- old/python-lsp-server-1.10.0/pylsp/uris.py 2024-01-21 16:55:09.000000000
+0100
+++ new/python-lsp-server-1.10.1/pylsp/uris.py 2024-03-13 03:26:47.000000000
+0100
@@ -5,6 +5,7 @@
https://github.com/Microsoft/vscode-uri/blob/e59cab84f5df6265aed18ae5f43552d3eef13bb9/lib/index.ts
"""
+
import re
from urllib import parse
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-lsp-server-1.10.0/python_lsp_server.egg-info/PKG-INFO
new/python-lsp-server-1.10.1/python_lsp_server.egg-info/PKG-INFO
--- old/python-lsp-server-1.10.0/python_lsp_server.egg-info/PKG-INFO
2024-01-21 17:21:48.000000000 +0100
+++ new/python-lsp-server-1.10.1/python_lsp_server.egg-info/PKG-INFO
2024-03-13 03:29:44.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: python-lsp-server
-Version: 1.10.0
+Version: 1.10.1
Summary: Python Language Server for the Language Server Protocol
Author: Python Language Server Contributors
License: MIT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-lsp-server-1.10.0/test/conftest.py
new/python-lsp-server-1.10.1/test/conftest.py
--- old/python-lsp-server-1.10.0/test/conftest.py 2024-01-21
16:55:09.000000000 +0100
+++ new/python-lsp-server-1.10.1/test/conftest.py 2024-03-13
03:26:47.000000000 +0100
@@ -1,7 +1,8 @@
# Copyright 2017-2020 Palantir Technologies, Inc.
# Copyright 2021- Python Language Server Contributors.
-""" py.test configuration"""
+"""pytest configuration"""
+
import logging
from pylsp.__main__ import LOG_FORMAT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-lsp-server-1.10.0/test/plugins/test_autoimport.py
new/python-lsp-server-1.10.1/test/plugins/test_autoimport.py
--- old/python-lsp-server-1.10.0/test/plugins/test_autoimport.py
2024-01-21 16:55:09.000000000 +0100
+++ new/python-lsp-server-1.10.1/test/plugins/test_autoimport.py
2024-03-13 02:59:34.000000000 +0100
@@ -313,7 +313,7 @@
)
assert rope_autoimport_settings.get("completions", {}).get("enabled",
False) is True
assert rope_autoimport_settings.get("memory", False) is True
- wait_for_condition(lambda: not cache.thread.is_alive())
+ wait_for_condition(lambda: not cache.is_blocked())
# 1.
quick_fixes = server.code_actions("cell_1_uri", {}, make_context("os", 0,
0, 2))