On Sun, 17 Aug 2025 09:19:30 +0200 Niels Thykier <[email protected]> wrote:
Package: lsprotocol
Version: 2025.0.0-1
Severity: serious
X-Debbugs-Cc: [email protected]
Control: affects -1 python3-pygls
Control: clone -1 -2
Control: reassign -2 python3-pygls
Control: retitle -2 pygls does not work with lsprotocol 2025

Hi,

Thanks for uploading a new version of `lsprotocol` to unstable. Unfortunately, `pygls` assumes an older version of `lsprotocol` and triggers the following error on import:

AttributeError: module 'lsprotocol.types' has no attribute 'TextDocumentContentChangeEvent_Type1'

I will look into the `pygls` side of things but we still need a `Breaks` since `python3-pygls` does not have an upper bound on its dependency on `python3-lsprotocol`.

Best regards,
Niels

I just uploaded pygls/1.3.0-3 that should cope better. This can now be fixed by adding `Breaks: python3-pygls (<< 1.3.0-3~)` to `python3-lsprotocol`.

Best regards,
Niels

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to