-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (65 loc) · 2.07 KB
/
pyproject.toml
File metadata and controls
80 lines (65 loc) · 2.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# Copyright AGNTCY Contributors (https://github.com/agntcy)
# SPDX-License-Identifier: Apache-2.0
[project]
name = "slima2a"
version = "0.4.0"
description = "A2A protocol over slimrpc"
readme = "README.md"
requires-python = ">=3.10, <4.0"
dependencies = [
"a2a-sdk[telemetry,sqlite]==1.0.0-alpha.0",
"slim-bindings~=1.1",
]
classifiers = [
"Development Status :: 3 - Alpha",
# Indicate who your project is intended for
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries",
# Specify the Python versions you support here.
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
[project.urls]
Repository = "https://github.com/agntcy/slim"
Issues = "https://github.com/agntcy/slim/issues"
Changelog = "https://github.com/agntcy/slim/blob/main/data-plane/python/integrations/slima2a/CHANGELOG.md"
[dependency-groups]
linting = ["ruff>=0.12", "mypy>=1.17.0", "types-protobuf>=6.30.2.20250822"]
testing = ["pytest>=8.3.4"]
examples = [
"langchain-core",
"langchain-openai",
"typing-extensions",
"uvicorn>=0.34.2",
]
# Default groups to install when running `uv sync`
[tool.uv]
default-groups = ["linting", "testing", "examples"]
[tool.ruff.format]
exclude = ["*_pb2.py", "*_pb2.pyi", "*_pb2_slimrpc.py"]
[tool.ruff.lint]
extend-select = ["I", "ASYNC", "SIM", "B", "ANN"]
exclude = ["*_pb2.py", "*_pb2.pyi", "*_pb2_slimrpc.py"]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["slima2a"]
exclude = ["examples"]
[tool.hatch.build.targets.sdist]
exclude = ["examples"]
[[tool.mypy.overrides]]
module = ["google.rpc.*"]
follow_untyped_imports = true
[[tool.mypy.overrides]]
module = ["slim_bindings.*"]
follow_untyped_imports = true
#ignore_missing_imports = true
[[tool.mypy.overrides]]
module = ["slima2a.types.v0.a2a_pb2_slimrpc"]
ignore_errors = true
[[tool.mypy.overrides]]
module = ["slima2a.types.v1.a2a_pb2_slimrpc"]
ignore_errors = true