14
0

Accepting request 934148 from home:bnavigator:branches:devel:languages:python:numeric

- Update to 1.3.1
  * Fix tests for Jedi 0.18.1
  * Option `jedi_completion.resolve_at_most_labels` was renamed to
    `jedi_completion.resolve_at_most` because now it controls how
    many labels and snippets will be resolved per request.
  * Option `jedi_completion.cache_labels_for` was renamed to
    `jedi_completion.cache_for` because now it controls the modules
    for which labels and snippets should be cached.
  * Update requirements on Pylint, flake8, pycodestyle, pyflakes
    and autopep8.
- Drop python-lsp-server-pr102-unpin-flake8.patch

OBS-URL: https://build.opensuse.org/request/show/934148
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=11
This commit is contained in:
2021-11-26 18:49:41 +00:00
committed by Git OBS Bridge
parent 5ce5e5518c
commit ca6c237c55
5 changed files with 23 additions and 50 deletions

View File

@@ -19,14 +19,12 @@
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
Name: python-python-lsp-server
Version: 1.2.4
Version: 1.3.1
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-pr102-unpin-flake8.patch -- gh#python-lsp/python-lsp-server#102
Patch0: python-lsp-server-pr102-unpin-flake8.patch
BuildRequires: %{python_module setuptools >= 39.0.0}
BuildRequires: python-rpm-macros >= 20210628
# SECTION test requirements
@@ -57,11 +55,15 @@ Requires: python-python-lsp-jsonrpc >= 1.0.0
Requires: python-setuptools >= 39.0.0
Requires: python-ujson >= 3.0.0
Suggests: python-autopep8 >= 1.6.0
Conflicts: python-autopep8 >= 1.7.0
Suggests: python-flake8 >= 4.0.0
Conflicts: python-flake8 >= 4.1.0
Suggests: python-mccabe >= 0.6.0
Suggests: python-pycodestyle >= 2.8.0
Conflicts: python-pycodestyle >= 2.9.0
Suggests: python-pydocstyle >= 2.0.0
Suggests: python-pyflakes >= 2.4.0
Conflicts: python-pyflakes >= 2.5.0
Suggests: python-pylint >= 2.5.0
Suggests: python-rope >= 0.10.5
Suggests: python-yapf