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
30 lines
824 B
TOML
30 lines
824 B
TOML
[project]
|
|
name = "nx-post-support-server"
|
|
version = "0.1.0"
|
|
description = "Python language server for NX Postprocessor Support"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
# Upper bounds guard against breaking API changes in bundled deps. The code
|
|
# 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>=2.0,<3",
|
|
"packaging>=24,<27",
|
|
"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]
|
|
dev = [
|
|
"nox>=2026.2.9",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["setuptools>=61.0"]
|
|
build-backend = "setuptools.build_meta"
|