14
0
forked from pool/python-pygls

Compare commits

2 Commits

Author SHA256 Message Date
cf00cc0c45 Accepting request 1313194 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1313194
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pygls?expand=0&rev=5
2025-10-23 14:38:21 +00:00
f10dcc1838 - Update to 2.0.0:
- Add some example servers
  - Respect client's preferred encoding when possible
  - test: add end-to-end tests for the various formatting requests
  - build(deps): upgrade black to latest (24.3.0)
  - Add example server for textDocument/rename and textDocument/prepareRename
  - Update hover.py to use language server argument
  - build(deps-dev): bump idna from 3.6 to 3.7
  - build(deps-dev): bump jinja2 from 3.1.3 to 3.1.4
  - build(deps-dev): bump requests from 2.31.0 to 2.32.0
  - Make the pygls-playground extension a workspace local extension
  - build(deps): bump idna from 3.6 to 3.7 in /docs
  - Add Document Links example server
  - docs: add Document and Workspace symbol example server
  - Provide more detail in exception
  - build(deps): bump certifi from 2023.11.17 to 2024.7.4
  - build(deps): bump requests from 2.31.0 to 2.32.2 in /docs
  - build(deps): bump urllib3 from 2.1.0 to 2.2.2
  - build(deps): bump jinja2 from 3.1.2 to 3.1.4 in /docs
  - build(deps-dev): bump zipp from 3.17.0 to 3.19.1
  - Add example semantic tokens server
  - build(deps): bump setuptools from 69.0.2 to 70.0.0 in /docs
  - Update to latest lsprotocol v2024.0.0a2
  - Generate server methods based on lsprotocol type definitions
  - chore: remove deprecated code
  - fix: use BinaryIO not TextIO in start_io()
  - Remove multiprocessing.pool.ThreadPool
  - fix: return None for non file: URIs
  - Add TCP support to pygls' LanguageClient
  - Add start_ws method to pygls' LanguageClient
  - chore: update to lsprotocol-2024.0.0b1
  - docs: remove Strata server implementation
  - Move JsonRPCServer.start_io to high-level asyncio API
  - Migrate JsonRPCServer.start_tcp and JsonRPCServer.start_ws to high level asyncio APIs
  - Replace "transports" with "writers"
  - Ressurrect our pyodide support
  - fix: fallback JsonRpcException code for malformed server errors
  - Introduce support for generator feature handlers
  - Use issubclass when checking the client/server instance to inject
  - Fixes error when passing max_workers
  - Use type annotations when invoking @server.command(...) handlers
  - Update the hello world example to the v2.0 syntax
  - fix: workspace/executeCommand with async handlers
  - ci: start testing on Python 3.14
  - chore: lsprotocol 2025.0.0rc1
  - Type annotation improvments
  - Fix pyodide tests
  - chore: add devcontainer definition and Makefile
  - Typing tweaks
  - Make TextDocument.lines be a Sequence[str] rather than List[str]
  - chore: lsprotocol 2025.0.0
  - build(deps): bump the pip group across 2 directories with 5 updates
  - ci: migrate from poetry to uv
  - Update Makefile to easily switch between Python versions
  - Fix UTF-8 position encoding
  - fix: 🐛 fix conversion of client_position into offset_at_position
  - docs: switch to furo theme
  - Update and re-organise documentation
  - fix: Handle a special case of BrokenPipeError exception
  - Change pythonPath to pythonCommand in the pygls-playground extension
  - fix: missing inline completion provider server capability
  - test: adjust tests for cattrs structuring sequences as tuples
  - build: v2.0.0
- Update dependencies
  - Add missing dependencies attrs, cattrs
  - Set required version dependency for lsprotocol

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygls?expand=0&rev=12
2025-10-23 10:11:08 +00:00
4 changed files with 79 additions and 7 deletions

View File

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

3
pygls-2.0.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:33f28ac94aef0b40097f21205531ba35e95caf86fca4d553854d35ec964915f6
size 382173

View File

@@ -1,3 +1,73 @@
-------------------------------------------------------------------
Wed Oct 22 09:52:12 UTC 2025 - Filippo Bonazzi <filippo.bonazzi@suse.com>
- Update to 2.0.0:
- Add some example servers
- Respect client's preferred encoding when possible
- test: add end-to-end tests for the various formatting requests
- build(deps): upgrade black to latest (24.3.0)
- Add example server for textDocument/rename and textDocument/prepareRename
- Update hover.py to use language server argument
- build(deps-dev): bump idna from 3.6 to 3.7
- build(deps-dev): bump jinja2 from 3.1.3 to 3.1.4
- build(deps-dev): bump requests from 2.31.0 to 2.32.0
- Make the pygls-playground extension a workspace local extension
- build(deps): bump idna from 3.6 to 3.7 in /docs
- Add Document Links example server
- docs: add Document and Workspace symbol example server
- Provide more detail in exception
- build(deps): bump certifi from 2023.11.17 to 2024.7.4
- build(deps): bump requests from 2.31.0 to 2.32.2 in /docs
- build(deps): bump urllib3 from 2.1.0 to 2.2.2
- build(deps): bump jinja2 from 3.1.2 to 3.1.4 in /docs
- build(deps-dev): bump zipp from 3.17.0 to 3.19.1
- Add example semantic tokens server
- build(deps): bump setuptools from 69.0.2 to 70.0.0 in /docs
- Update to latest lsprotocol v2024.0.0a2
- Generate server methods based on lsprotocol type definitions
- chore: remove deprecated code
- fix: use BinaryIO not TextIO in start_io()
- Remove multiprocessing.pool.ThreadPool
- fix: return None for non file: URIs
- Add TCP support to pygls' LanguageClient
- Add start_ws method to pygls' LanguageClient
- chore: update to lsprotocol-2024.0.0b1
- docs: remove Strata server implementation
- Move JsonRPCServer.start_io to high-level asyncio API
- Migrate JsonRPCServer.start_tcp and JsonRPCServer.start_ws to high level asyncio APIs
- Replace "transports" with "writers"
- Ressurrect our pyodide support
- fix: fallback JsonRpcException code for malformed server errors
- Introduce support for generator feature handlers
- Use issubclass when checking the client/server instance to inject
- Fixes error when passing max_workers
- Use type annotations when invoking @server.command(...) handlers
- Update the hello world example to the v2.0 syntax
- fix: workspace/executeCommand with async handlers
- ci: start testing on Python 3.14
- chore: lsprotocol 2025.0.0rc1
- Type annotation improvments
- Fix pyodide tests
- chore: add devcontainer definition and Makefile
- Typing tweaks
- Make TextDocument.lines be a Sequence[str] rather than List[str]
- chore: lsprotocol 2025.0.0
- build(deps): bump the pip group across 2 directories with 5 updates
- ci: migrate from poetry to uv
- Update Makefile to easily switch between Python versions
- Fix UTF-8 position encoding
- fix: 🐛 fix conversion of client_position into offset_at_position
- docs: switch to furo theme
- Update and re-organise documentation
- fix: Handle a special case of BrokenPipeError exception
- Change pythonPath to pythonCommand in the pygls-playground extension
- fix: missing inline completion provider server capability
- test: adjust tests for cattrs structuring sequences as tuples
- build: v2.0.0
- Update dependencies
- Add missing dependencies attrs, cattrs
- Set required version dependency for lsprotocol
-------------------------------------------------------------------
Sat Apr 6 07:45:34 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pygls
#
# Copyright (c) 2024 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
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-pygls
Version: 1.3.1
Version: 2.0.0
Release: 0
Summary: A pythonic generic language server
License: Apache-2.0
@@ -31,11 +31,13 @@ BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# For testing
BuildRequires: %{python_module lsprotocol}
BuildRequires: %{python_module lsprotocol = 2025.0.0}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest}
# Endif
Requires: python-lsprotocol
Requires: python-attrs >= 24.3.0
Requires: python-cattrs >= 23.1.2
Requires: python-lsprotocol = 2025.0.0
Requires: python-websockets
BuildArch: noarch
%python_subpackages