Accepting request 1154296 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1154296
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=30
This commit is contained in:
Dominique Leuenberger 2024-03-02 22:24:08 +00:00 committed by Git OBS Bridge
commit 64b46d3116
5 changed files with 13 additions and 38 deletions

View File

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

View File

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

View File

@ -1,31 +0,0 @@
Index: python-lsp-server-1.9.0/pyproject.toml
===================================================================
--- python-lsp-server-1.9.0.orig/pyproject.toml
+++ python-lsp-server-1.9.0/pyproject.toml
@@ -28,22 +28,22 @@ Homepage = "https://github.com/python-ls
[project.optional-dependencies]
all = [
"autopep8>=2.0.4,<2.1.0",
- "flake8>=6.1.0,<7",
+ "flake8>=7,<8",
"mccabe>=0.7.0,<0.8.0",
"pycodestyle>=2.11.0,<2.12.0",
"pydocstyle>=6.3.0,<6.4.0",
- "pyflakes>=3.1.0,<3.2.0",
+ "pyflakes>=3.2.0,<3.3.0",
"pylint>=2.5.0,<3.1",
"rope>1.2.0",
"yapf>=0.33.0",
"whatthepatch>=1.0.2,<2.0.0"
]
autopep8 = ["autopep8>=1.6.0,<2.1.0"]
-flake8 = ["flake8>=6.1.0,<7"]
+flake8 = ["flake8>=7,<8"]
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.1.0,<3.2.0"]
+pyflakes = ["pyflakes>=3.2.0,<3.3.0"]
pylint = ["pylint>=2.5.0,<3.1"]
rope = ["rope>1.2.0"]
yapf = ["yapf>=0.33.0", "whatthepatch>=1.0.2,<2.0.0"]

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sat Mar 2 10:33:14 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Update to 1.10.0
* Add support for notebook document completions.
* Add support for flake8 version 7.
- Drop python-lsp-server-pr510-flake8-7.patch
-------------------------------------------------------------------
Fri Jan 5 18:37:26 UTC 2024 - Ben Greiner <code@bnavigator.de>

View File

@ -19,14 +19,12 @@
%{?sle15_python_module_pythons}
Name: python-python-lsp-server
Version: 1.9.0
Version: 1.10.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 python-lsp-server-pr510-flake8-7.patch gh#/python-lsp/python-lsp-server#510
Patch0: python-lsp-server-pr510-flake8-7.patch
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 61.2}
@ -85,7 +83,7 @@ Conflicts: python-pyflakes >= 3.3.0
# /SECTION
BuildArch: noarch
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires(postun): update-alternatives
%python_subpackages
%description