Compare commits
19 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 5f106e242f | |||
| 8929eb2ecc | |||
| 5197367fc1 | |||
| dfd7867659 | |||
| 05335a9e29 | |||
| aa99fd76ab | |||
| be65e64418 | |||
| cbbe3ab708 | |||
| 779602b0ea | |||
| 787b3b28fb | |||
| abde5388ba | |||
| e442b27014 | |||
| 25d5f680e2 | |||
| bae4a9fee1 | |||
| dfe23d39d3 | |||
| 1b7ab8e1df | |||
| 4e42611f63 | |||
| b54f3ddea4 | |||
| 04069276ad |
@@ -1,27 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
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>
|
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
|
# spec file for package python-python-lsp-server
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC and contributors
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,15 +16,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?suse_version} > 1500
|
|
||||||
%bcond_without libalternatives
|
|
||||||
%else
|
|
||||||
%bcond_with libalternatives
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-python-lsp-server
|
Name: python-python-lsp-server
|
||||||
Version: 1.14.0
|
Version: 1.13.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python Language Server for the Language Server Protocol
|
Summary: Python Language Server for the Language Server Protocol
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -39,7 +33,6 @@ BuildRequires: %{python_module wheel}
|
|||||||
BuildRequires: python-rpm-macros >= 20210628
|
BuildRequires: python-rpm-macros >= 20210628
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
BuildRequires: %{python_module autopep8 >= 2.0.4}
|
BuildRequires: %{python_module autopep8 >= 2.0.4}
|
||||||
BuildRequires: %{python_module PyQt6}
|
|
||||||
BuildRequires: %{python_module black}
|
BuildRequires: %{python_module black}
|
||||||
BuildRequires: %{python_module docstring-to-markdown}
|
BuildRequires: %{python_module docstring-to-markdown}
|
||||||
BuildRequires: %{python_module flaky}
|
BuildRequires: %{python_module flaky}
|
||||||
@@ -50,7 +43,7 @@ BuildRequires: %{python_module numpy}
|
|||||||
BuildRequires: %{python_module pandas}
|
BuildRequires: %{python_module pandas}
|
||||||
BuildRequires: %{python_module pluggy}
|
BuildRequires: %{python_module pluggy}
|
||||||
BuildRequires: %{python_module pydocstyle >= 6.3.0 with %python-pydocstyle < 6.4.0}
|
BuildRequires: %{python_module pydocstyle >= 6.3.0 with %python-pydocstyle < 6.4.0}
|
||||||
BuildRequires: %{python_module pylint >= 3.1 with %python-pylint < 4.1}
|
BuildRequires: %{python_module pylint >= 3.1 with %python-pylint < 4}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module python-lsp-jsonrpc >= 1.1.0 with %python-python-lsp-jsonrpc < 2}
|
BuildRequires: %{python_module python-lsp-jsonrpc >= 1.1.0 with %python-python-lsp-jsonrpc < 2}
|
||||||
BuildRequires: %{python_module rope >= 1.2.0}
|
BuildRequires: %{python_module rope >= 1.2.0}
|
||||||
@@ -75,13 +68,8 @@ Requires: (python-python-lsp-jsonrpc >= 1.1.0 with python-python-lsp-jsonr
|
|||||||
Requires: python-importlib_metadata >= 4.8.3
|
Requires: python-importlib_metadata >= 4.8.3
|
||||||
%endif
|
%endif
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with libalternatives}
|
|
||||||
Requires: alts
|
|
||||||
BuildRequires: alts
|
|
||||||
%else
|
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
%endif
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -104,11 +92,10 @@ will be enabled:
|
|||||||
%package all
|
%package all
|
||||||
Summary: The python-lsp-server[all] extra
|
Summary: The python-lsp-server[all] extra
|
||||||
Requires: python-autopep8 >= 2.0.4
|
Requires: python-autopep8 >= 2.0.4
|
||||||
Requires: python-python-lsp-server = %{version}-%{release}
|
Requires: python-rope >= 1.2.0
|
||||||
Requires: python-rope >= 1.11.0
|
|
||||||
Requires: python-yapf >= 0.33
|
Requires: python-yapf >= 0.33
|
||||||
Requires: (python-pydocstyle >= 6.3.0 with python-pydocstyle < 6.4.0)
|
Requires: (python-pydocstyle >= 6.3.0 with python-pydocstyle < 6.4.0)
|
||||||
Requires: (python-pylint >= 3.1 with python-pylint < 4.1)
|
Requires: (python-pylint >= 3.1 with python-pylint < 4)
|
||||||
Requires: (python-whatthepatch >= 1.0.2 with python-whatthepatch < 2)
|
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
|
# 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
|
# https://flake8.pycqa.org/en/latest/faq.html#why-does-flake8-use-ranges-for-its-dependencies
|
||||||
@@ -143,12 +130,8 @@ sed -i pyproject.toml \
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# test_missing_message is hanging https://github.com/python-lsp/python-lsp-server/issues/679
|
# PyQt5 not maintained anymore. Reenable when upstream moves to PyQt6
|
||||||
%pytest -k "not test_missing_message"
|
%pytest -k "not test_pyqt_completion"
|
||||||
|
|
||||||
%pre
|
|
||||||
# If libalternatives is used: Removing old update-alternatives entries.
|
|
||||||
%python_libalternatives_reset_alternative pylsp
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative pylsp
|
%python_install_alternative pylsp
|
||||||
|
|||||||
3
python_lsp_server-1.13.0.tar.gz
Normal file
3
python_lsp_server-1.13.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:378f26b63ecf4c10864de31de5e6da7ad639de9bd60a75d4110fea36fb8d0d69
|
||||||
|
size 119147
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:509c445fc667f41ffd3191cb7512a497bf7dd76c14ceb1ee2f6c13ebe71f9a6b
|
|
||||||
size 121536
|
|
||||||
Reference in New Issue
Block a user