17
0

Compare commits

19 Commits

Author SHA256 Message Date
5f106e242f Accepting request 1295257 from devel:languages:python
- Update to 1.13.0
  * Format signatures in docstrings.
  * Add support for type definition.
  * Send websocket payload using a queue.
  * Fix getting symbols with inline comments that include the
    import word.
  * Drop support for Python 3.8 (forwarded request 1295256 from bnavigator)

OBS-URL: https://build.opensuse.org/request/show/1295257
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=42
2025-07-23 14:35:58 +00:00
8929eb2ecc Accepting request 1295256 from home:bnavigator:spyder
- Update to 1.13.0
  * Format signatures in docstrings.
  * Add support for type definition.
  * Send websocket payload using a queue.
  * Fix getting symbols with inline comments that include the
    import word.
  * Drop support for Python 3.8

OBS-URL: https://build.opensuse.org/request/show/1295256
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=79
2025-07-23 09:38:02 +00:00
5197367fc1 Accepting request 1281204 from devel:languages:python
- Bump flake8 dependencies
- Remove PyQt5 test dependency and skip the one test using it (forwarded request 1281203 from bnavigator)

OBS-URL: https://build.opensuse.org/request/show/1281204
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=41
2025-05-30 12:38:35 +00:00
dfd7867659 Accepting request 1281203 from home:bnavigator:spyder
- Bump flake8 dependencies
- Remove PyQt5 test dependency and skip the one test using it

OBS-URL: https://build.opensuse.org/request/show/1281203
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=77
2025-05-29 19:08:32 +00:00
05335a9e29 Accepting request 1273177 from devel:languages:python
- update to 1.12.2:
  * PR 608 - Fix putting `extra_paths` in front of `sys.path`

OBS-URL: https://build.opensuse.org/request/show/1273177
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=40
2025-04-29 14:40:11 +00:00
aa99fd76ab - update to 1.12.2:
* PR 608 - Fix putting `extra_paths` in front of `sys.path`

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=75
2025-04-28 14:35:42 +00:00
be65e64418 Accepting request 1244499 from devel:languages:python
- Update to 1.12.1
  * Fixes compatibility with Python 3.13 in the test suite.
  * Handles correctly a null value for ropeFolder in the Rope
    configuration.
- Drop pylsp-issues-602-605.patch

OBS-URL: https://build.opensuse.org/request/show/1244499
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=39
2025-02-09 19:08:05 +00:00
cbbe3ab708 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=73 2025-02-09 14:57:43 +00:00
779602b0ea Accepting request 1244495 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 1.12.1
  * Fixes compatibility with Python 3.13 in the test suite.
  * Handles correctly a null value for ropeFolder in the Rope
    configuration.

OBS-URL: https://build.opensuse.org/request/show/1244495
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=72
2025-02-09 14:47:50 +00:00
787b3b28fb Accepting request 1233320 from devel:languages:python
- Add pylsp-issues-602-605.patch
  * Changed fuzzy jedi completion
    gh#python-lsp/python-lsp-server#602
  * Disable DEBUG logging for tests
    gh#python-lsp/python-lsp-server#605

OBS-URL: https://build.opensuse.org/request/show/1233320
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=38
2024-12-26 11:24:27 +00:00
abde5388ba - Add pylsp-issues-602-605.patch
* Changed fuzzy jedi completion
    gh#python-lsp/python-lsp-server#602
  * Disable DEBUG logging for tests
    gh#python-lsp/python-lsp-server#605

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=70
2024-12-25 10:24:30 +00:00
e442b27014 Accepting request 1225060 from devel:languages:python
- add unpin-autopep8.patch

OBS-URL: https://build.opensuse.org/request/show/1225060
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=37
2024-11-19 21:23:19 +00:00
25d5f680e2 - add unpin-autopep8.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=68
2024-11-19 10:52:20 +00:00
bae4a9fee1 Accepting request 1199483 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1199483
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=36
2024-09-09 12:45:27 +00:00
dfe23d39d3 Accepting request 1199480 from home:bnavigator:branches:devel:languages:python:numeric
- Add [all] extra subpackage

OBS-URL: https://build.opensuse.org/request/show/1199480
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=66
2024-09-08 16:15:45 +00:00
1b7ab8e1df Accepting request 1197468 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1197468
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=35
2024-08-30 11:32:02 +00:00
4e42611f63 Accepting request 1197465 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 1.12.0
  * Add support for window/logMessage.
  * Add version support to workspace/publishDiagnostics.
  * Add extendSelect option to flake8 plugin.
  * Allow Jedi's extra_paths to be placed in front of sys.path.
  * Bump flake8 to 7.1

OBS-URL: https://build.opensuse.org/request/show/1197465
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=64
2024-08-29 14:17:06 +00:00
b54f3ddea4 Accepting request 1186838 from devel:languages:python
- Bump flake8 to 7.1 and it's pinning pycodestyle to 2.12.0 (forwarded request 1186837 from bnavigator)

OBS-URL: https://build.opensuse.org/request/show/1186838
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=34
2024-07-11 18:33:23 +00:00
04069276ad Accepting request 1186837 from home:bnavigator:branches:devel:languages:python:numeric
- Bump flake8 to 7.1 and it's pinning pycodestyle to 2.12.0

OBS-URL: https://build.opensuse.org/request/show/1186837
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=62
2024-07-11 10:49:36 +00:00
4 changed files with 10 additions and 51 deletions

View File

@@ -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>

View File

@@ -1,7 +1,7 @@
#
# 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
# 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}
Name: python-python-lsp-server
Version: 1.14.0
Version: 1.13.0
Release: 0
Summary: Python Language Server for the Language Server Protocol
License: MIT
@@ -39,7 +33,6 @@ 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}
@@ -50,7 +43,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.1}
BuildRequires: %{python_module pylint >= 3.1 with %python-pylint < 4}
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}
@@ -75,13 +68,8 @@ 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
@@ -104,11 +92,10 @@ will be enabled:
%package all
Summary: The python-lsp-server[all] extra
Requires: python-autopep8 >= 2.0.4
Requires: python-python-lsp-server = %{version}-%{release}
Requires: python-rope >= 1.11.0
Requires: python-rope >= 1.2.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.1)
Requires: (python-pylint >= 3.1 with python-pylint < 4)
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
@@ -143,12 +130,8 @@ sed -i pyproject.toml \
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# 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
# PyQt5 not maintained anymore. Reenable when upstream moves to PyQt6
%pytest -k "not test_pyqt_completion"
%post
%python_install_alternative pylsp

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:378f26b63ecf4c10864de31de5e6da7ad639de9bd60a75d4110fea36fb8d0d69
size 119147

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:509c445fc667f41ffd3191cb7512a497bf7dd76c14ceb1ee2f6c13ebe71f9a6b
size 121536