Skip to content

Commit 41285e3

Browse files
bnavigatorbmwiedemann
authored andcommitted
Update python-python-lsp-server to version 1.7.0 / rev 18 via SR 1045989
https://build.opensuse.org/request/show/1045989 by user bnavigator + dimstar_suse - Update to 1.7.0 * Add a new plugin to provide autoimport functionality (disabled by default). * Add progress reporting. * Make jedi_definition plugin follow definitions to pyi files. * Add support for flake8 version 6. * Add support for Yapf ignore patterns. * Add mccabe setting to flake8 plugin. - Drop python-lsp-server-pr316-flake8v6.patch upstreamed * gh#python-lsp/python-lsp-server#316 - Add python-lsp-server-pr327-sys-executable.patch * gh#python-lsp/python-lsp-server#327 (forwarded request 1045987 from bnavigator)
1 parent 87028b2 commit 41285e3

8 files changed

+56
-109
lines changed
6 Bytes
Binary file not shown.

packages/p/python-python-lsp-server/.rev

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,4 +169,23 @@
169169
<comment></comment>
170170
<requestid>1043823</requestid>
171171
</revision>
172+
<revision rev="18" vrev="1">
173+
<srcmd5>497b5aaa376cc13261dfee3cd8050e6a</srcmd5>
174+
<version>1.7.0</version>
175+
<time>1672765232</time>
176+
<user>dimstar_suse</user>
177+
<comment>- Update to 1.7.0
178+
* Add a new plugin to provide autoimport functionality (disabled
179+
by default).
180+
* Add progress reporting.
181+
* Make jedi_definition plugin follow definitions to pyi files.
182+
* Add support for flake8 version 6.
183+
* Add support for Yapf ignore patterns.
184+
* Add mccabe setting to flake8 plugin.
185+
- Drop python-lsp-server-pr316-flake8v6.patch upstreamed
186+
* gh#python-lsp/python-lsp-server#316
187+
- Add python-lsp-server-pr327-sys-executable.patch
188+
* gh#python-lsp/python-lsp-server#327 (forwarded request 1045987 from bnavigator)</comment>
189+
<requestid>1045989</requestid>
190+
</revision>
172191
</revisionlist>

packages/p/python-python-lsp-server/python-lsp-server-1.6.0.tar.gz

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/ipfs/bafkreicadtty5ixjrsw5almusyxlglesq6okvpeakw42f43np32evtcugu

packages/p/python-python-lsp-server/python-lsp-server-pr316-flake8v6.patch

Lines changed: 0 additions & 101 deletions
This file was deleted.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/pylsp/plugins/pylint_lint.py b/pylsp/plugins/pylint_lint.py
2+
index 452f45b..222cdb8 100644
3+
--- a/pylsp/plugins/pylint_lint.py
4+
+++ b/pylsp/plugins/pylint_lint.py
5+
@@ -85,7 +85,7 @@ class PylintLinter:
6+
return cls.last_diags[document.path]
7+
8+
cmd = [
9+
- 'python',
10+
+ sys.executable,
11+
'-c',
12+
'import sys; from pylint.lint import Run; Run(sys.argv[1:])',
13+
'-f',

packages/p/python-python-lsp-server/python-python-lsp-server.changes

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
-------------------------------------------------------------------
2+
Fri Dec 30 09:46:15 UTC 2022 - Ben Greiner <[email protected]>
3+
4+
- Update to 1.7.0
5+
* Add a new plugin to provide autoimport functionality (disabled
6+
by default).
7+
* Add progress reporting.
8+
* Make jedi_definition plugin follow definitions to pyi files.
9+
* Add support for flake8 version 6.
10+
* Add support for Yapf ignore patterns.
11+
* Add mccabe setting to flake8 plugin.
12+
- Drop python-lsp-server-pr316-flake8v6.patch upstreamed
13+
* gh#python-lsp/python-lsp-server#316
14+
- Add python-lsp-server-pr327-sys-executable.patch
15+
* gh#python-lsp/python-lsp-server#327
16+
117
-------------------------------------------------------------------
218
Mon Dec 19 21:37:19 UTC 2022 - Ben Greiner <[email protected]>
319

packages/p/python-python-lsp-server/python-python-lsp-server.spec

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# spec file for package python-python-lsp-server
33
#
4-
# Copyright (c) 2022 SUSE LLC
4+
# Copyright (c) 2023 SUSE LLC
55
#
66
# All modifications and additions to the file contributed by third parties
77
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,14 @@
1717

1818

1919
Name: python-python-lsp-server
20-
Version: 1.6.0
20+
Version: 1.7.0
2121
Release: 0
2222
Summary: Python Language Server for the Language Server Protocol
2323
License: MIT
2424
URL: https://github.com/python-lsp/python-lsp-server
2525
Source: https://files.pythonhosted.org/packages/source/p/python-lsp-server/python-lsp-server-%{version}.tar.gz
26-
#PATCH-FIX-UPSTREAM python-lsp-server-pr316-flake8v6.patch gh#python-lsp/python-lsp-server#316
27-
Patch0: python-lsp-server-pr316-flake8v6.patch
26+
# PATCH-FIX-UPSTREAM python-lsp-server-pr327-sys-executable.patch gh#python-lsp/python-lsp-server#327
27+
Patch1: python-lsp-server-pr327-sys-executable.patch
2828
BuildRequires: %{python_module base >= 3.7}
2929
BuildRequires: %{python_module pip}
3030
BuildRequires: %{python_module setuptools >= 61.2}
@@ -47,7 +47,7 @@ BuildRequires: %{python_module pydocstyle >= 2.0.0}
4747
BuildRequires: %{python_module pylint >= 2.5.0}
4848
BuildRequires: %{python_module pytest}
4949
BuildRequires: %{python_module python-lsp-jsonrpc >= 1.0.0}
50-
BuildRequires: %{python_module rope >= 0.10.5}
50+
BuildRequires: %{python_module rope >= 1.2.0}
5151
BuildRequires: %{python_module ujson >= 3.0.0}
5252
BuildRequires: %{python_module whatthepatch}
5353
BuildRequires: %{python_module yapf}
@@ -63,7 +63,7 @@ Suggests: python-autopep8 >= 1.6.0
6363
Conflicts: python-autopep8 >= 1.7.0
6464
Suggests: python-pydocstyle >= 2.0.0
6565
Suggests: python-pylint >= 2.5.0
66-
Suggests: python-rope >= 0.10.5
66+
Suggests: python-rope >= 1.2.0
6767
Suggests: python-yapf
6868
Suggests: python-whatthepatch
6969
# SECTION flake8 pins
@@ -125,6 +125,6 @@ sed -i '/addopts/d' pyproject.toml
125125
%license LICENSE
126126
%python_alternative %{_bindir}/pylsp
127127
%{python_sitelib}/pylsp
128-
%{python_sitelib}/python_lsp_server-%{version}*-info
128+
%{python_sitelib}/python_lsp_server-%{version}.dist-info
129129

130130
%changelog

0 commit comments

Comments
 (0)