Accepting request 1167872 from home:bnavigator:spyder

- Update to 1.11.0
  * Remove the rope_rename plugin. People that were using it need
    to install the pylsp-rope third-party plugin instead.
  * Add support for Pylint 3.1
- Drop pylsp-pr543-pylint3.1.patch

OBS-URL: https://build.opensuse.org/request/show/1167872
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=60
This commit is contained in:
Benjamin Greiner 2024-04-15 18:55:31 +00:00 committed by Git OBS Bridge
parent 6bf6bf6166
commit 1dcc9c30f1
5 changed files with 13 additions and 43 deletions

View File

@ -1,37 +0,0 @@
From fe9f359db1cc0f59e4703c69c97ed17f88916f5a Mon Sep 17 00:00:00 2001
From: Ben Greiner <code@bnavigator.de>
Date: Fri, 29 Mar 2024 11:26:58 +0100
Subject: [PATCH] Bump pylint to 3.1
---
pyproject.toml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
index 4665dcbe..89ffab66 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -33,7 +33,7 @@ all = [
"pycodestyle>=2.11.0,<2.12.0",
"pydocstyle>=6.3.0,<6.4.0",
"pyflakes>=3.2.0,<3.3.0",
- "pylint>=2.5.0,<3.1",
+ "pylint>=3.1,<4",
"rope>=1.11.0",
"yapf>=0.33.0",
"whatthepatch>=1.0.2,<2.0.0"
@@ -44,12 +44,12 @@ mccabe = ["mccabe>=0.7.0,<0.8.0"]
pycodestyle = ["pycodestyle>=2.11.0,<2.12.0"]
pydocstyle = ["pydocstyle>=6.3.0,<6.4.0"]
pyflakes = ["pyflakes>=3.2.0,<3.3.0"]
-pylint = ["pylint>=2.5.0,<3.1"]
+pylint = ["pylint>=3.1,<4"]
rope = ["rope>=1.11.0"]
yapf = ["yapf>=0.33.0", "whatthepatch>=1.0.2,<2.0.0"]
websockets = ["websockets>=10.3"]
test = [
- "pylint>=2.5.0,<3.1",
+ "pylint>=3.1,<4",
"pytest",
"pytest-cov",
"coverage",

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ec4c5706af67a265a19173fe4beb3b0a2c1626fa33a15ea952c2f288798b8c0d
size 113136

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:89edd6fb3f7852e4bf5a3d1d95ea41484d1a28fa94b6e3cbff12b9db123b8e86
size 113347

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Apr 1 11:03:05 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Update to 1.11.0
* Remove the rope_rename plugin. People that were using it need
to install the pylsp-rope third-party plugin instead.
* Add support for Pylint 3.1
- Drop pylsp-pr543-pylint3.1.patch
-------------------------------------------------------------------
Fri Mar 29 10:50:31 UTC 2024 - Ben Greiner <code@bnavigator.de>

View File

@ -19,14 +19,12 @@
%{?sle15_python_module_pythons}
Name: python-python-lsp-server
Version: 1.10.1
Version: 1.11.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
# PATCH-FIX-UPSTREAM pylsp-pr543-pylint3.1.patch gh#python-lsp/python-lsp-server#531
Patch0: pylsp-pr543-pylint3.1.patch
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 61.2}