15
0

Compare commits

24 Commits

Author SHA256 Message Date
c4cea46959 Accepting request 1323800 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1323800
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=44
2025-12-20 20:47:14 +00:00
376a7c7d65 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=84 2025-12-20 16:21:53 +00:00
04320b3ab6 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=83
2025-12-20 15:32:42 +00:00
024a88841b Accepting request 1318437 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1318437
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-lsp-server?expand=0&rev=43
2025-11-18 14:41:17 +00:00
88e1b1d6e8 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=81
2025-11-18 11:39:58 +00:00
1d0c1a5fdb 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
97bbac82b8 - 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/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=79
2025-07-23 09:38:02 +00:00
0390bc17b0 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
2abf218707 - Bump flake8 dependencies
- Remove PyQt5 test dependency and skip the one test using it

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
5c4f378a18 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
f867b85623 - 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
e4193bae85 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
9ac4376355 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
3427d9fcfd - 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/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=72
2025-02-09 14:47:50 +00:00
693a096749 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
def90ee4a5 - 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
f85c74a1d8 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
92b02ed8b8 - 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
97e2b7946f 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
a6373d6fc8 - Add [all] extra subpackage
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
b337e9997d 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
4a94b3c7cf - 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/package/show/devel:languages:python/python-python-lsp-server?expand=0&rev=64
2024-08-29 14:17:06 +00:00
ffccde08e8 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
4dc539c50a - Bump flake8 to 7.1 and it's pinning pycodestyle to 2.12.0
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 51 additions and 10 deletions

View File

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

View File

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

View File

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

View File

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