-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (87 loc) · 2.59 KB
/
pyproject.toml
File metadata and controls
96 lines (87 loc) · 2.59 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "lightspeed-agent"
version = "0.1.0"
description = "A2A-ready agent for Red Hat Insights using Google ADK"
readme = "README.md"
requires-python = ">=3.12"
license = "Apache-2.0"
authors = [
{ name = "Red Hat", email = "insights@redhat.com" }
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
]
dependencies = [
# Shared base dependencies (used by both agent and marketplace handler)
"pydantic>=2.0.0",
"pydantic-settings>=2.0.0",
"httpx>=0.27.0",
"uvicorn>=0.30.0",
"fastapi>=0.115.0",
"PyJWT[crypto]>=2.8.0",
"cryptography>=46.0.5",
"sqlalchemy[asyncio]>=2.0.0",
"aiosqlite>=0.20.0",
# PostgreSQL drivers
"asyncpg>=0.29.0", # Async driver for SQLAlchemy async operations
"psycopg2-binary>=2.9.0", # Sync PostgreSQL driver (used by alembic migrations)
# Google Cloud authentication (ADC for Procurement API calls)
"google-auth>=2.0.0",
"requests>=2.20.0", # Required by google.auth.transport.requests
# Redis for distributed rate limiting (used by both agent and marketplace handler)
"redis>=5.0.0",
]
[project.optional-dependencies]
agent = [
# AI/Agent frameworks
"google-adk>=0.5.0",
"a2a-sdk[http-server]>=0.3.0,<1.0.0",
"mcp>=1.0.0",
# Configuration
"python-dotenv>=1.2.2",
# Google Cloud integration
"google-cloud-service-control>=1.0.0",
# OpenTelemetry for distributed tracing
"opentelemetry-api>=1.20.0",
"opentelemetry-sdk>=1.20.0",
"opentelemetry-exporter-otlp>=1.20.0",
"opentelemetry-instrumentation-fastapi>=0.41b0",
"opentelemetry-instrumentation-httpx>=0.41b0",
"opentelemetry-instrumentation-logging>=0.41b0",
]
telemetry = [
"opentelemetry-exporter-jaeger>=1.20.0",
"opentelemetry-exporter-zipkin>=1.20.0",
]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
"pytest-cov>=4.0.0",
"ruff>=0.4.0",
"mypy>=1.10.0",
"httpx>=0.27.0",
]
[project.scripts]
lightspeed-agent = "lightspeed_agent.main:main"
[tool.hatch.build.targets.wheel]
packages = ["src/lightspeed_agent"]
[tool.ruff]
target-version = "py312"
line-length = 100
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP", "B", "C4", "SIM"]
[tool.mypy]
python_version = "3.12"
strict = true
warn_return_any = true
warn_unused_configs = true
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]