Python: [BREAKING] Cleanup of dependencies (#1803)

* removed extra and non-released deps

* added comments

* added space and lock

* fix pyright config
This commit is contained in:
Eduard van Valkenburg
2025-10-30 16:24:29 +01:00
committed by GitHub
Unverified
parent abfdf75cfb
commit 434ffb8ab8
14 changed files with 51 additions and 345 deletions
+7 -12
View File
@@ -22,25 +22,22 @@ classifiers = [
"Typing :: Typed",
]
dependencies = [
"openai>=1.99.0,<2",
# utilities
"typing-extensions",
"pydantic>=2,<3",
"pydantic-settings>=2,<3",
"typing-extensions",
# telemetry
"opentelemetry-api>=1.24",
"opentelemetry-sdk>=1.24",
"mcp[ws]>=1.13",
"azure-monitor-opentelemetry>=1.7.0",
"azure-monitor-opentelemetry-exporter>=1.0.0b41",
"opentelemetry-exporter-otlp-proto-grpc>=1.36.0",
"opentelemetry-semantic-conventions-ai>=0.4.13",
"aiofiles>=24.1.0",
# connectors and functions
"openai>=1.99.0,<2",
"azure-identity>=1,<2",
"mcp[ws]>=1.13",
]
[project.optional-dependencies]
viz = [
"graphviz>=0.20.0"
]
all = [
"agent-framework-a2a",
"agent-framework-azure-ai",
@@ -48,7 +45,6 @@ all = [
"agent-framework-mem0",
"agent-framework-redis",
"agent-framework-devui",
"graphviz>=0.20.0"
]
[tool.uv]
@@ -87,8 +83,7 @@ omit = [
extend = "../../pyproject.toml"
[tool.pyright]
extend = "../../pyproject.toml"
exclude = ['tests']
extends = "../../pyproject.toml"
[tool.mypy]
plugins = ['pydantic.mypy']