15
0
Files
python-python-lsp-server/allow-pylint4.patch
Markéta Machová 88e1b1d6e8 - Update to 1.13.1
* Use PyQt6 for testing
  * Expose a shutdown hook
  * Copy LAST_JEDI_COMPLETIONS to cell document so that completionItem/resolve
    will work
- add allow-pylint4.patch to allow new pylint version
- enable PyQt test again as upstream moved to PyQt6
- disable test that hangs
  (see: https://github.com/python-lsp/python-lsp-server/issues/679)
- use libalternatives on newer releases

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=81
2025-11-18 11:39:58 +00:00

38 lines
1.1 KiB
Diff

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",