a2a-sdk 1.0.0 restructured the package and removed a2a.server.apps, which main.py imports directly for A2AStarletteApplication. The current >=0.3.25 constraint resolves to 1.0.0 on fresh installs and the runtime crashes at startup with ModuleNotFoundError — which is exactly what bit production workspace EC2 instances provisioned on 2026-04-20. Bump to 0.1.3 and pin <1.0 until we're ready to migrate to the 1.x import paths. Companion fix in molecule-controlplane PR #174 pins at pip-install time; this PR fixes the upstream package so other callers don't re-hit the same trap. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
38 lines
1.1 KiB
TOML
38 lines
1.1 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=68.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "molecule-ai-workspace-runtime"
|
|
version = "0.1.3"
|
|
description = "Molecule AI workspace runtime — shared infrastructure for all agent adapters"
|
|
requires-python = ">=3.11"
|
|
license = {text = "BSL-1.1"}
|
|
readme = "README.md"
|
|
# Don't pin heavy deps — each adapter adds its own
|
|
dependencies = [
|
|
# Upper bound: a2a-sdk 1.0.0 dropped the a2a.server.apps module we import
|
|
# in main.py. Keep on the 0.3.x line until we migrate to the 1.x API.
|
|
"a2a-sdk[http-server]>=0.3.25,<1.0",
|
|
"httpx>=0.27.0",
|
|
"uvicorn>=0.30.0",
|
|
"starlette>=0.38.0",
|
|
"websockets>=12.0",
|
|
"pyyaml>=6.0",
|
|
"langchain-core>=0.3.0",
|
|
"opentelemetry-api>=1.24.0",
|
|
"opentelemetry-sdk>=1.24.0",
|
|
"opentelemetry-exporter-otlp-proto-http>=1.24.0",
|
|
"temporalio>=1.7.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
molecule-runtime = "molecule_runtime.main:main_sync"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
include = ["molecule_runtime*"]
|
|
|
|
[tool.setuptools.package-data]
|
|
"molecule_runtime" = ["py.typed"]
|