forked from pool/python-python-lsp-server
Compare commits
24 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| c4cea46959 | |||
| 376a7c7d65 | |||
| 04320b3ab6 | |||
| 024a88841b | |||
| 88e1b1d6e8 | |||
| 1d0c1a5fdb | |||
| 97bbac82b8 | |||
| 0390bc17b0 | |||
| 2abf218707 | |||
| 5c4f378a18 | |||
| f867b85623 | |||
| e4193bae85 | |||
| 9ac4376355 | |||
| 3427d9fcfd | |||
| 693a096749 | |||
| def90ee4a5 | |||
| f85c74a1d8 | |||
| 92b02ed8b8 | |||
| 97e2b7946f | |||
| a6373d6fc8 | |||
| b337e9997d | |||
| 4a94b3c7cf | |||
| ffccde08e8 | |||
| 4dc539c50a |
@@ -1,3 +1,27 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 20 12:42:54 UTC 2025 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 1.14.0
|
||||
* Add `pylsp.signature.include_docstring` to hide docstring in
|
||||
signatures.
|
||||
* Add support for Pylint 4.
|
||||
* Fix support for Python 3.14.
|
||||
- Drop allow-pylint4.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 17 09:32:52 UTC 2025 - Nico Krapp <nico.krapp@suse.com>
|
||||
|
||||
- Update to 1.13.1
|
||||
* Use PyQt6 for testing
|
||||
* Expose a shutdown hook
|
||||
* Copy LAST_JEDI_COMPLETIONS to cell document so that completionItem/resolve
|
||||
will work
|
||||
- add allow-pylint4.patch to allow new pylint version
|
||||
- enable PyQt test again as upstream moved to PyQt6
|
||||
- disable test that hangs
|
||||
(see: https://github.com/python-lsp/python-lsp-server/issues/679)
|
||||
- use libalternatives on newer releases
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 23 08:29:46 UTC 2025 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-python-lsp-server
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,9 +16,15 @@
|
||||
#
|
||||
|
||||
|
||||
%if 0%{?suse_version} > 1500
|
||||
%bcond_without libalternatives
|
||||
%else
|
||||
%bcond_with libalternatives
|
||||
%endif
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-python-lsp-server
|
||||
Version: 1.13.0
|
||||
Version: 1.14.0
|
||||
Release: 0
|
||||
Summary: Python Language Server for the Language Server Protocol
|
||||
License: MIT
|
||||
@@ -33,6 +39,7 @@ BuildRequires: %{python_module wheel}
|
||||
BuildRequires: python-rpm-macros >= 20210628
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module autopep8 >= 2.0.4}
|
||||
BuildRequires: %{python_module PyQt6}
|
||||
BuildRequires: %{python_module black}
|
||||
BuildRequires: %{python_module docstring-to-markdown}
|
||||
BuildRequires: %{python_module flaky}
|
||||
@@ -43,7 +50,7 @@ BuildRequires: %{python_module numpy}
|
||||
BuildRequires: %{python_module pandas}
|
||||
BuildRequires: %{python_module pluggy}
|
||||
BuildRequires: %{python_module pydocstyle >= 6.3.0 with %python-pydocstyle < 6.4.0}
|
||||
BuildRequires: %{python_module pylint >= 3.1 with %python-pylint < 4}
|
||||
BuildRequires: %{python_module pylint >= 3.1 with %python-pylint < 4.1}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module python-lsp-jsonrpc >= 1.1.0 with %python-python-lsp-jsonrpc < 2}
|
||||
BuildRequires: %{python_module rope >= 1.2.0}
|
||||
@@ -68,8 +75,13 @@ Requires: (python-python-lsp-jsonrpc >= 1.1.0 with python-python-lsp-jsonr
|
||||
Requires: python-importlib_metadata >= 4.8.3
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
%if %{with libalternatives}
|
||||
Requires: alts
|
||||
BuildRequires: alts
|
||||
%else
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -92,10 +104,11 @@ will be enabled:
|
||||
%package all
|
||||
Summary: The python-lsp-server[all] extra
|
||||
Requires: python-autopep8 >= 2.0.4
|
||||
Requires: python-rope >= 1.2.0
|
||||
Requires: python-python-lsp-server = %{version}-%{release}
|
||||
Requires: python-rope >= 1.11.0
|
||||
Requires: python-yapf >= 0.33
|
||||
Requires: (python-pydocstyle >= 6.3.0 with python-pydocstyle < 6.4.0)
|
||||
Requires: (python-pylint >= 3.1 with python-pylint < 4)
|
||||
Requires: (python-pylint >= 3.1 with python-pylint < 4.1)
|
||||
Requires: (python-whatthepatch >= 1.0.2 with python-whatthepatch < 2)
|
||||
# Let's bump this in sync with flake8 and ignore pylsp upstream being still behind
|
||||
# https://flake8.pycqa.org/en/latest/faq.html#why-does-flake8-use-ranges-for-its-dependencies
|
||||
@@ -130,8 +143,12 @@ sed -i pyproject.toml \
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# PyQt5 not maintained anymore. Reenable when upstream moves to PyQt6
|
||||
%pytest -k "not test_pyqt_completion"
|
||||
# test_missing_message is hanging https://github.com/python-lsp/python-lsp-server/issues/679
|
||||
%pytest -k "not test_missing_message"
|
||||
|
||||
%pre
|
||||
# If libalternatives is used: Removing old update-alternatives entries.
|
||||
%python_libalternatives_reset_alternative pylsp
|
||||
|
||||
%post
|
||||
%python_install_alternative pylsp
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:378f26b63ecf4c10864de31de5e6da7ad639de9bd60a75d4110fea36fb8d0d69
|
||||
size 119147
|
||||
3
python_lsp_server-1.14.0.tar.gz
Normal file
3
python_lsp_server-1.14.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:509c445fc667f41ffd3191cb7512a497bf7dd76c14ceb1ee2f6c13ebe71f9a6b
|
||||
size 121536
|
||||
Reference in New Issue
Block a user