forked from SolaceLabs/solace-agent-mesh
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
210 lines (189 loc) · 7.09 KB
/
pyproject.toml
File metadata and controls
210 lines (189 loc) · 7.09 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "solace-agent-mesh"
dynamic = ["version"]
description = "Solace Agent Mesh is an open-source framework for building event-driven, multi-agent AI systems where specialized agents collaborate on complex tasks."
readme = "README.md"
requires-python = ">=3.10.16"
license = { file = "LICENSE" }
authors = [
{ name="SolaceLabs", email="solacelabs@solace.com" },
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.13",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Application Frameworks",
]
dependencies = [
"google-adk==1.7.0",
"a2a-sdk[http-server]==0.3.7",
"pydantic==2.11.9",
"click==8.1.8",
"python-dotenv==1.1.1",
"google-genai==1.39.0",
"httpx==0.28.1",
"jwcrypto==1.5.6",
"python-jwt==4.1.0",
"asteval==1.0.6",
"pystache==0.6.8",
"pandas==2.3.2",
"numpy==2.2.6",
"plotly==6.3.0",
"kaleido==0.2.1",
"PyYAML==6.0.2",
"python-multipart==0.0.20",
"markitdown[all]==0.1.1",
"jmespath==1.0.1",
"mermaid_cli==0.1.2",
"playwright==1.55.0",
"litellm==1.76.3",
"markdownify==1.2.0",
"beautifulsoup4==4.13.5",
"jsonpath-ng==1.7.0",
"pydub==0.25.1",
"toml==0.10.2",
"GitPython==3.1.45",
"Flask==3.0.3",
"flask-cors==6.0.1",
"fastapi==0.117.1",
"uvicorn[standard]==0.37.0",
"sse-starlette==3.0.2",
"itsdangerous==2.2.0",
"solace_ai_connector==1.3.0",
"holidays==0.81.0",
"rouge==1.0.1",
"SQLAlchemy==2.0.40",
"alembic==1.16.5",
"openai==1.99.9"
]
[project.optional-dependencies]
gcs = ["google-cloud-storage==2.19.0"]
s3 = ["boto3==1.40.37"]
vertex = ["google-cloud-aiplatform==1.120.0"]
employee_tools = ["holidays==0.81.0"]
postgresql = ["psycopg2-binary==2.9.10"]
[tool.hatch.envs.hatch-test]
parallel = false
installer = "pip"
dependencies = [
"solace-agent-mesh[postgresql,gcs,vertex,employee_tools,s3]",
"pytest-asyncio",
"pytest>=8.0.0",
"pytest-mock>=3.0.0",
"pytest-cov>=4.0.0",
"pytest-xdist>=3.5.0",
"pytest-httpx>=0.35.0",
"fastmcp",
"httpx>=0.25",
"respx",
"ruff",
"testcontainers",
"aiosqlite",
"psycopg2-binary",
"asyncpg",
"sam-test-infrastructure @ {root:uri}/tests/sam-test-infrastructure"
]
[[tool.hatch.envs.hatch-test.matrix]]
python = ["3.10", "3.13"]
[tool.hatch.envs.hatch-test.scripts]
run = "pytest {args}"
run-cov = "coverage run -m pytest {args}"
cov-combine = "coverage combine"
cov-report = "coverage report"
[project.urls]
Homepage = "https://github.com/SolaceLabs/solace-agent-mesh"
Repository = "https://github.com/SolaceLabs/solace-agent-mesh"
[project.scripts]
solace-agent-mesh = "solace_agent_mesh.cli.main:cli"
sam = "solace_agent_mesh.cli.main:cli"
[tool.ruff]
line-length = 88
select = ["E", "W", "F", "I", "UP", "B", "C4", "SIM"]
ignore = ["E501", "B008"]
[tool.ruff.format]
quote-style = "double"
[tool.pytest.ini_options]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"
addopts = "--tb=short --strict-markers --disable-warnings -p pytest_asyncio --ignore=tests/system"
testpaths = ["tests"]
pythonpath = [".", "src", "tests/sam-test-infrastructure/src"]
python_files = ["test_*.py", "*_test.py", "tests.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
markers = [
"all: marks all tests",
"asyncio: marks tests as async (deselect with '-m \"not asyncio\"')",
"default: marks tests that are basic or foundational",
"stress: marks tests as stress tests (long-running, resource-intensive)",
"long_soak: marks tests as very long-running soak tests for memory leak detection",
# Core Components
# Markers for the main components of the Solace Agent Mesh.
"agent: marks tests related to the agent component",
"common: marks tests related to the common component",
"core_a2a: marks tests related to the core_a2a component",
"gateway: marks tests related to the gateway component",
# Common Components
# Markers for sub-components within the 'common' directory.
"middleware: marks tests related to the middleware component",
"server: marks tests related to the server component",
"services: marks tests related to the services",
# Features
# Markers for specific features.
"callbacks: marks tests related to agent callbacks",
"datapart: marks tests related to A2A DataPart objects",
"delegation: marks tests related to agent delegation",
"embeds: marks tests related to the embeds",
"mcp: marks tests related to mcp",
"notification: marks tests related to notifications",
"task_cancellation: marks tests related to task cancellation",
"proxy: marks tests related to the A2A proxy functionality",
"streaming: marks tests related to streaming messages",
"artifacts: marks tests related to artifact handling and services",
"api: marks tests related to the API",
"tasks: marks tests related to task management",
# Agent Tools
# Markers for the built-in agent tools.
"tools: marks tests related to the agent tools",
"audio_tools: marks tests related to the audio_tools",
"peer_tool: marks tests for calling peer agents",
"builtin_artifact_tools: marks tests related to the builtin_artifact_tools",
"builtin_data_analysis_tools: marks tests related to the builtin_data_analysis_tools",
"general_agent_tools: marks tests related to the general_agent_tools",
"image_tools: marks tests related to the image_tools",
"peer_agent_tool: marks tests related to the peer_agent_tool",
"web_tools: marks tests related to the web_tools",
"dynamic_tools: marks tests related to the dynamic_tools",
"auth: marks tests associated with authentication and authorization",
"oauth: OAuth specific tests",
"error_handling: Tests related to error handling and recovery",
"cancellation: Tests related to task cancellation",
]
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["src/solace_agent_mesh"]
[tool.hatch.build.targets.wheel.force-include]
"templates" = "solace_agent_mesh/templates"
"cli" = "solace_agent_mesh/cli"
"evaluation" = "solace_agent_mesh/evaluation"
"config_portal/frontend/static" = "solace_agent_mesh/config_portal/frontend/static"
"config_portal/backend" = "solace_agent_mesh/config_portal/backend"
"config_portal/__init__.py" = "solace_agent_mesh/config_portal/__init__.py"
"client/webui/frontend/static" = "solace_agent_mesh/client/webui/frontend/static"
"docs/build" = "solace_agent_mesh/assets/docs"
[tool.hatch.build.targets.sdist.force-include]
"config_portal/frontend/static" = "/assets/config_portal"
"client/webui/frontend/static" = "/assets/client/webui"
"docs/build" = "/assets/docs"
[tool.hatch.build.targets.sdist.hooks.custom]
path = ".github/helper_scripts/build_frontend.py"
[tool.hatch.build.targets.wheel.hooks.custom]
path = ".github/helper_scripts/build_frontend.py"
[tool.hatch.version]
path = "cli/__init__.py"