Accepting request 1085800 from devel:languages:python
- Unpin yapf * Add python-lsp-server-pr377-unpin-yapf.patch * gh#python-lsp/python-lsp-server#377 OBS-URL: https://build.opensuse.org/request/show/1085800 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=22
This commit is contained in:
commit
7dc9de5d2b
32
python-lsp-server-pr377-unpin-yapf.patch
Normal file
32
python-lsp-server-pr377-unpin-yapf.patch
Normal file
@ -0,0 +1,32 @@
|
||||
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",
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 9 20:07:36 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Unpin yapf
|
||||
* Add python-lsp-server-pr377-unpin-yapf.patch
|
||||
* gh#python-lsp/python-lsp-server#377
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 27 15:15:13 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -23,6 +23,8 @@ 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}
|
||||
@ -45,11 +47,9 @@ BuildRequires: %{python_module pylint >= 2.5.0 with %python-pylint < 3}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module python-lsp-jsonrpc >= 1.0.0}
|
||||
BuildRequires: %{python_module rope >= 1.2.0}
|
||||
# gh#python-lsp/python-lsp-server#346
|
||||
BuildRequires: %{python_module toml if %python-yapf <= 0.32.0 else %python-tomli}
|
||||
BuildRequires: %{python_module ujson >= 3.0.0}
|
||||
BuildRequires: %{python_module whatthepatch >= 1.0.2 with %python-whatthepatch < 2}
|
||||
BuildRequires: %{python_module yapf < 0.32.1}
|
||||
BuildRequires: %{python_module yapf >= 0.33}
|
||||
# /SECTION
|
||||
BuildRequires: fdupes
|
||||
Requires: python-docstring-to-markdown
|
||||
@ -65,9 +65,7 @@ Conflicts: python-pydocstyle >= 6.4.0
|
||||
Suggests: python-pylint >= 2.5.0
|
||||
Conflicts: python-pylint >= 3
|
||||
Suggests: python-rope >= 1.2.0
|
||||
Suggests: python-yapf
|
||||
Conflicts: python-yapf >= 0.32.1
|
||||
Suggests: python-toml
|
||||
Suggests: python-yapf >= 0.33
|
||||
Suggests: python-whatthepatch >= 1.0.2
|
||||
Conflicts: python-whatthepatch >= 2
|
||||
# SECTION flake8 pins
|
||||
|
Loading…
Reference in New Issue
Block a user