Accepting request 1096293 from devel:languages:python

- Update to 1.7.4
  * Fixes token initialization when reporting progress.
  * Resolves home dir references in Jedi environment path.
  * Fixes Pylint hanging on files with many errors.
- Release 1.7.3
  * Adds support for Yapf 0.33
    (upstreamed python-lsp-server-pr377-unpin-yapf.patch)
  * Fix an empty current working directory value for Pylint

OBS-URL: https://build.opensuse.org/request/show/1096293
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=23
This commit is contained in:
Dominique Leuenberger 2023-07-01 21:18:31 +00:00 committed by Git OBS Bridge
commit 1ef4d65fa9
5 changed files with 16 additions and 38 deletions

View File

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

View File

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

View File

@ -1,32 +0,0 @@
From b2df1b92559a07defed27f26a364acc5a6837fce Mon Sep 17 00:00:00 2001
From: Ben Greiner <code@bnavigator.de>
Date: Tue, 9 May 2023 22:02:43 +0200
Subject: [PATCH] Update yapf requirement
---
pyproject.toml | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
index 1dc01fa..7e62d24 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -35,8 +35,7 @@ all = [
"pyflakes>=2.5.0,<3.1.0",
"pylint>=2.5.0,<3",
"rope>1.2.0",
- "yapf<=0.32.0",
- "toml",
+ "yapf>=0.33.0",
"whatthepatch>=1.0.2,<2.0.0"
]
autopep8 = ["autopep8>=1.6.0,<2.1.0"]
@@ -47,7 +46,7 @@ pydocstyle = ["pydocstyle>=6.3.0,<6.4.0"]
pyflakes = ["pyflakes>=2.5.0,<3.1.0"]
pylint = ["pylint>=2.5.0,<3"]
rope = ["rope>1.2.0"]
-yapf = ["yapf<=0.32.0", "whatthepatch>=1.0.2,<2.0.0", "toml"]
+yapf = ["yapf>=0.33.0", "whatthepatch>=1.0.2,<2.0.0"]
websockets = ["websockets>=10.3"]
test = [
"pylint>=2.5.0,<3",

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sat Jul 1 13:38:40 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Update to 1.7.4
* Fixes token initialization when reporting progress.
* Resolves home dir references in Jedi environment path.
* Fixes Pylint hanging on files with many errors.
- Release 1.7.3
* Adds support for Yapf 0.33
(upstreamed python-lsp-server-pr377-unpin-yapf.patch)
* Fix an empty current working directory value for Pylint
-------------------------------------------------------------------
Tue May 9 20:07:36 UTC 2023 - Ben Greiner <code@bnavigator.de>

View File

@ -17,14 +17,12 @@
Name: python-python-lsp-server
Version: 1.7.2
Version: 1.7.4
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 python-lsp-server-pr377-unpin-yapf.patch gh#python-lsp/python-lsp-server#377
Patch0: python-lsp-server-pr377-unpin-yapf.patch
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 61.2}