Accepting request 1323800 from devel:languages:python
- Update to 1.14.0
* Add `pylsp.signature.include_docstring` to hide docstring in
signatures.
* Add support for Pylint 4.
* Fix support for Python 3.14.
- Drop allow-pylint4.patch
OBS-URL: https://build.opensuse.org/request/show/1323800
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=44
This commit is contained in:
@@ -1,37 +0,0 @@
|
||||
From d20ec4adb5f2ebe9eb8075b5933ea3190f6e6665 Mon Sep 17 00:00:00 2001
|
||||
From: nkrapp <nico.krapp@suse.com>
|
||||
Date: Tue, 18 Nov 2025 11:09:38 +0100
|
||||
Subject: [PATCH] bump allowed pylint to <4.1
|
||||
|
||||
---
|
||||
pyproject.toml | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/pyproject.toml b/pyproject.toml
|
||||
index 0be4035c..8fe9c574 100644
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -35,7 +35,7 @@ all = [
|
||||
"pycodestyle>=2.12.0,<2.13.0",
|
||||
"pydocstyle>=6.3.0,<6.4.0",
|
||||
"pyflakes>=3.2.0,<3.3.0",
|
||||
- "pylint>=3.1,<4",
|
||||
+ "pylint>=3.1,<4.1.0",
|
||||
"rope>=1.11.0",
|
||||
"yapf>=0.33.0",
|
||||
"whatthepatch>=1.0.2,<2.0.0"
|
||||
@@ -46,12 +46,12 @@ mccabe = ["mccabe>=0.7.0,<0.8.0"]
|
||||
pycodestyle = ["pycodestyle>=2.12.0,<2.13.0"]
|
||||
pydocstyle = ["pydocstyle>=6.3.0,<6.4.0"]
|
||||
pyflakes = ["pyflakes>=3.2.0,<3.3.0"]
|
||||
-pylint = ["pylint>=3.1,<4"]
|
||||
+pylint = ["pylint>=3.1,<4.1.0"]
|
||||
rope = ["rope>=1.11.0"]
|
||||
yapf = ["yapf>=0.33.0", "whatthepatch>=1.0.2,<2.0.0"]
|
||||
websockets = ["websockets>=10.3"]
|
||||
test = [
|
||||
- "pylint>=3.1,<4",
|
||||
+ "pylint>=3.1,<4.1.0",
|
||||
"pytest",
|
||||
"pytest-cov",
|
||||
"coverage",
|
||||
@@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 20 12:42:54 UTC 2025 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 1.14.0
|
||||
* Add `pylsp.signature.include_docstring` to hide docstring in
|
||||
signatures.
|
||||
* Add support for Pylint 4.
|
||||
* Fix support for Python 3.14.
|
||||
- Drop allow-pylint4.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 17 09:32:52 UTC 2025 - Nico Krapp <nico.krapp@suse.com>
|
||||
|
||||
|
||||
@@ -24,15 +24,13 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-python-lsp-server
|
||||
Version: 1.13.1
|
||||
Version: 1.14.0
|
||||
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
|
||||
Patch1: unpin-autopep8.patch
|
||||
# PATCH-FIX-UPSTREAM allow-pylint4.patch https://github.com/python-lsp/python-lsp-server/pull/687
|
||||
Patch2: allow-pylint4.patch
|
||||
BuildRequires: %{python_module base >= 3.9}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools >= 61.2}
|
||||
@@ -106,7 +104,8 @@ will be enabled:
|
||||
%package all
|
||||
Summary: The python-lsp-server[all] extra
|
||||
Requires: python-autopep8 >= 2.0.4
|
||||
Requires: python-rope >= 1.2.0
|
||||
Requires: python-python-lsp-server = %{version}-%{release}
|
||||
Requires: python-rope >= 1.11.0
|
||||
Requires: python-yapf >= 0.33
|
||||
Requires: (python-pydocstyle >= 6.3.0 with python-pydocstyle < 6.4.0)
|
||||
Requires: (python-pylint >= 3.1 with python-pylint < 4.1)
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bfa3d6bbca3fc3e6d0137b27cd1eabee65783a8d4314c36e1e230c603419afa3
|
||||
size 120484
|
||||
3
python_lsp_server-1.14.0.tar.gz
Normal file
3
python_lsp_server-1.14.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:509c445fc667f41ffd3191cb7512a497bf7dd76c14ceb1ee2f6c13ebe71f9a6b
|
||||
size 121536
|
||||
Reference in New Issue
Block a user