chore(lsprotocol): migrate to 2025.0.0 and cleanup artifacts
The changes align the project with the 2025.0.0 lsprotocol release, removing the old backport and updating type hints in the protocol hooks to use Sequence where appropriate. The dist-info and packaging metadata for older lsprotocol versions are replaced with the new 2025.0.0 artifacts. - Remove exceptiongroup backport used on Python <3.11 - Use Sequence instead of List in LS protocol hooks - Replace old dist-info with 2025.0.0 metadata
This commit is contained in:
+11
-4
@@ -2,14 +2,21 @@
|
||||
name = "nx-post-support-server"
|
||||
version = "0.1.0"
|
||||
description = "Python language server for NX Postprocessor Support"
|
||||
requires-python = ">=3.8"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = [
|
||||
# Upper bounds guard against breaking API changes in bundled deps. The code
|
||||
# is written against tclint 0.8.x (see tools/semantic_tokens.py); pin it so a
|
||||
# is written against tclint 0.9.x (see tools/semantic_tokens.py); pin it so a
|
||||
# re-bundle can't silently pull an incompatible major/minor.
|
||||
"pygls>=1.3,<2",
|
||||
"pygls>=2.0,<3",
|
||||
"packaging>=24,<27",
|
||||
"tclint>=0.8,<0.9",
|
||||
"tclint>=0.9,<1.0",
|
||||
]
|
||||
|
||||
[tool.uv]
|
||||
override-dependencies = [
|
||||
# tclint only uses pygls in its tclsp CLI, which this project does not use.
|
||||
# The language server itself is migrated independently to pygls 2.x.
|
||||
"pygls>=2.0,<3",
|
||||
]
|
||||
|
||||
[dependency-groups]
|
||||
|
||||
Reference in New Issue
Block a user