Skip to content

Commit f4303d1

Browse files
chore(deps): drop unused runtime deps and exclude tests from wheel (#367)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 0f177c9 commit f4303d1

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

pyproject.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ dependencies = [
2020
"rich>=13.9.2,<14",
2121
"fastapi>=0.115.0",
2222
"starlette>=0.49.1",
23-
"tornado>=6.5.5",
2423
"uvicorn>=0.31.1",
2524
"watchfiles>=0.24.0,<1.0",
2625
"python-on-whales>=0.73.0,<0.74",
@@ -33,24 +32,17 @@ dependencies = [
3332
"litellm>=1.83.7,<2",
3433
"kubernetes>=25.0.0,<36.0.0",
3534
"jinja2>=3.1.3,<4",
36-
"mcp[cli]>=1.4.1",
35+
"mcp>=1.4.1",
3736
"scale-gp>=0.1.0a59",
3837
"openai-agents==0.14.1",
3938
"pydantic-ai-slim>=1.0,<2",
40-
"tzlocal>=5.3.1",
41-
"tzdata>=2025.2",
42-
"pytest>=8.4.0",
4339
"json_log_formatter>=1.1.1",
44-
"pytest-asyncio>=1.0.0",
4540
"scale-gp-beta>=0.2.0",
46-
"ipykernel>=6.29.5",
4741
"openai>=2.2,<3", # Required by openai-agents; litellm now supports openai 2.x (issue #13711 resolved: https://github.com/BerriAI/litellm/issues/13711)
4842
"cloudpickle>=3.1.1",
49-
"datadog>=0.52.1",
5043
"ddtrace>=3.13.0",
5144
"yaspin>=3.1.0",
5245
"claude-agent-sdk>=0.1.0",
53-
"anthropic>=0.40.0",
5446
"langgraph-checkpoint>=2.0.0",
5547
"opentelemetry-sdk>=1.20.0",
5648
"opentelemetry-api>=1.20.0",
@@ -152,6 +144,14 @@ include = [
152144

153145
[tool.hatch.build.targets.wheel]
154146
packages = ["src/agentex"]
147+
# Don't ship internal test files in the wheel. `lib/cli/templates/**/test_agent.py.j2`
148+
# is intentionally kept — those render into user projects.
149+
exclude = [
150+
"src/agentex/lib/**/tests/**",
151+
"src/agentex/lib/**/test_*.py",
152+
"src/agentex/lib/**/conftest.py",
153+
"src/agentex/lib/**/pytest.ini",
154+
]
155155

156156
[tool.hatch.build.targets.sdist]
157157
# Basically everything except hidden files/directories (such as .github, .devcontainers, .python-version, etc)

0 commit comments

Comments
 (0)