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 2021-12-12 00:57:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-lsp-server (Old)
and /work/SRC/openSUSE:Factory/.python-python-lsp-server.new.2520 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-lsp-server"
Sun Dec 12 00:57:54 2021 rev:9 rq:939985 version:1.3.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-python-lsp-server/python-python-lsp-server.changes
2021-11-27 00:52:41.926517340 +0100
+++
/work/SRC/openSUSE:Factory/.python-python-lsp-server.new.2520/python-python-lsp-server.changes
2021-12-12 00:58:14.142610176 +0100
@@ -1,0 +2,7 @@
+Sat Dec 11 14:46:41 UTC 2021 - Ben Greiner <[email protected]>
+
+- Update to 1.3.2
+ * Fix formatting a log message
+- Add python-lsp-server-pr133-pylint-python310.patch
+
+-------------------------------------------------------------------
Old:
----
python-lsp-server-1.3.1.tar.gz
New:
----
python-lsp-server-1.3.2.tar.gz
python-lsp-server-pr133-pylint-python310.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-python-lsp-server.spec ++++++
--- /var/tmp/diff_new_pack.QILVG9/_old 2021-12-12 00:58:14.554610459 +0100
+++ /var/tmp/diff_new_pack.QILVG9/_new 2021-12-12 00:58:14.558610461 +0100
@@ -19,12 +19,13 @@
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
Name: python-python-lsp-server
-Version: 1.3.1
+Version: 1.3.2
Release: 0
Summary: Python Language Server for the Language Server Protocol
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
+Patch0:
https://github.com/python-lsp/python-lsp-server/pull/133.patch#/python-lsp-server-pr133-pylint-python310.patch
BuildRequires: %{python_module setuptools >= 39.0.0}
BuildRequires: python-rpm-macros >= 20210628
# SECTION test requirements
++++++ python-lsp-server-1.3.1.tar.gz -> python-lsp-server-1.3.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-lsp-server-1.3.1/.pylintrc
new/python-lsp-server-1.3.2/.pylintrc
--- old/python-lsp-server-1.3.1/.pylintrc 2021-10-30 19:18:46.000000000
+0200
+++ new/python-lsp-server-1.3.2/.pylintrc 2021-11-25 17:42:11.000000000
+0100
@@ -18,6 +18,7 @@
too-many-instance-attributes,
import-error,
consider-using-f-string,
+ logging-fstring-interpolation
[REPORTS]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-lsp-server-1.3.1/PKG-INFO
new/python-lsp-server-1.3.2/PKG-INFO
--- old/python-lsp-server-1.3.1/PKG-INFO 2021-11-22 18:31:07.002516300
+0100
+++ new/python-lsp-server-1.3.2/PKG-INFO 2021-11-25 17:47:08.256401000
+0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: python-lsp-server
-Version: 1.3.1
+Version: 1.3.2
Summary: Python Language Server for the Language Server Protocol
Home-page: https://github.com/python-lsp/python-lsp-server
Author: Python Language Server Contributors
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-lsp-server-1.3.1/pylsp/_version.py
new/python-lsp-server-1.3.2/pylsp/_version.py
--- old/python-lsp-server-1.3.1/pylsp/_version.py 2021-11-22
18:30:34.000000000 +0100
+++ new/python-lsp-server-1.3.2/pylsp/_version.py 2021-11-25
17:45:59.000000000 +0100
@@ -3,5 +3,5 @@
"""PyLSP versioning information."""
-VERSION_INFO = (1, 3, 1)
+VERSION_INFO = (1, 3, 2)
__version__ = '.'.join(map(str, VERSION_INFO))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-lsp-server-1.3.1/pylsp/plugins/_resolvers.py
new/python-lsp-server-1.3.2/pylsp/plugins/_resolvers.py
--- old/python-lsp-server-1.3.1/pylsp/plugins/_resolvers.py 2021-11-15
18:31:52.000000000 +0100
+++ new/python-lsp-server-1.3.2/pylsp/plugins/_resolvers.py 2021-11-25
17:42:11.000000000 +0100
@@ -81,10 +81,7 @@
sig = completion.get_signatures()
return self.callback(completion, sig)
except Exception as e: # pylint: disable=broad-except
- log.warning(
- 'Something went wrong when resolving label for {completion}:
{e}',
- completion=completion, e=e
- )
+ log.warning(f'Something went wrong when resolving label for
{completion}: {e}')
return self.resolve_on_error
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-lsp-server-1.3.1/python_lsp_server.egg-info/PKG-INFO
new/python-lsp-server-1.3.2/python_lsp_server.egg-info/PKG-INFO
--- old/python-lsp-server-1.3.1/python_lsp_server.egg-info/PKG-INFO
2021-11-22 18:31:06.000000000 +0100
+++ new/python-lsp-server-1.3.2/python_lsp_server.egg-info/PKG-INFO
2021-11-25 17:47:08.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: python-lsp-server
-Version: 1.3.1
+Version: 1.3.2
Summary: Python Language Server for the Language Server Protocol
Home-page: https://github.com/python-lsp/python-lsp-server
Author: Python Language Server Contributors
++++++ python-lsp-server-pr133-pylint-python310.patch ++++++
>From 5ec13561e762db1b333950326672c5bc972a4078 Mon Sep 17 00:00:00 2001
From: Bruno Pagani <[email protected]>
Date: Sun, 5 Dec 2021 19:17:35 +0400
Subject: [PATCH] Fix test_syntax_error_pylint_py3 for Python 3.10
Only the first assert was modified in 2e062830fa45fc849a62e7eef10187e9141f7a00.
---
test/plugins/test_pylint_lint.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/test/plugins/test_pylint_lint.py b/test/plugins/test_pylint_lint.py
index f6fcda8..4e6ed06 100644
--- a/test/plugins/test_pylint_lint.py
+++ b/test/plugins/test_pylint_lint.py
@@ -84,7 +84,10 @@ def test_syntax_error_pylint_py3(config, workspace):
config.plugin_settings('pylint')['executable'] = 'pylint'
diag = pylint_lint.pylsp_lint(config, doc, True)[0]
- assert diag['message'].startswith('invalid syntax')
+ if sys.version_info[:2] >= (3, 10):
+ assert diag['message'].count("expected ':'")
+ else:
+ assert diag['message'].startswith('invalid syntax')
# Pylint doesn't give column numbers for invalid syntax.
assert diag['range']['start'] == {'line': 0, 'character': 12}
assert diag['severity'] == lsp.DiagnosticSeverity.Error