Accepting request 927855 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/927855
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2021-10-28 16:31:20 +00:00 committed by Git OBS Bridge
commit 12da5fc897
4 changed files with 14 additions and 7 deletions

View File

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

View File

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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Oct 27 13:16:45 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Update to version 1.2.4
* Pin flake8 to be less than version 4.
* Fix a pylint test when PyLsp is not installed.
-------------------------------------------------------------------
Sun Oct 3 18:50:53 UTC 2021 - Ben Greiner <code@bnavigator.de>

View File

@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
Name: python-python-lsp-server
Version: 1.2.2
Version: 1.2.4
Release: 0
Summary: Python Language Server for the Language Server Protocol
License: MIT
@ -31,7 +31,7 @@ BuildRequires: python-rpm-macros >= 20210628
BuildRequires: %{python_module jedi >= 0.17.2}
BuildRequires: %{python_module PyQt5}
BuildRequires: %{python_module autopep8}
BuildRequires: %{python_module flake8 >= 3.8.0}
BuildRequires: %{python_module flake8 >= 3.8.0 with %python-flake8 < 4}
BuildRequires: %{python_module flaky}
BuildRequires: %{python_module mccabe >= 0.6.0}
BuildRequires: %{python_module pluggy}
@ -55,7 +55,7 @@ Requires: python-python-lsp-jsonrpc >= 1.0.0
Requires: python-setuptools >= 39.0.0
Requires: python-ujson >= 3.0.0
Suggests: python-autopep8
Suggests: python-flake8 >= 3.8.0
Suggests: (python-flake8 >= 3.8.0 with python-flake8 < 4)
Suggests: python-mccabe >= 0.6.0
Suggests: python-pycodestyle >= 2.7.0
Suggests: python-pydocstyle >= 2.0.0
@ -88,7 +88,7 @@ will be enabled:
%prep
%setup -q -n python-lsp-server-%{version}
# the only relevant changes from https://github.com/python-lsp/python-lsp-server/pull/94
sed -i 's/pylint>=2.5.0,<2.10.0/pylint>=2.5.0/' setup.cfg
sed -i 's/pylint>=2.5.0,<2.10.0/pylint>=2.5.0/' setup.py
sed -i "s/open(document.path, 'w')/open(document.path, 'w', encoding='utf-8')/" test/plugins/test_pylint_lint.py
%build