Files
cleveragents-core/features/tdd_a2a_sdk_dependency.feature
freemo a5d6f0c393 fix(a2a): add A2A Python SDK as project dependency
Add a2a-sdk>=0.3.0 to [project.dependencies] in pyproject.toml.
The specification mandates that both local (stdio) and server (HTTP)
transports use the A2A Python SDK (ADR-047). Previously the package
was absent from pyproject.toml and uv.lock, making the project
non-compliant with the spec requirement.

Changes:
- Add 'a2a-sdk>=0.3.0' to [project.dependencies] in pyproject.toml
- Regenerate uv.lock to include a2a-sdk 0.3.25 and its transitive deps
- Add Behave scenarios confirming a2a is importable as a project dependency
- Add step definitions for the new TDD scenarios

ISSUES CLOSED: #2922
2026-04-05 07:18:27 +00:00

21 lines
856 B
Gherkin

@tdd_issue @tdd_issue_2922
Feature: A2A Python SDK is a declared project dependency
As a CleverAgents developer
I want the A2A Python SDK to be listed in pyproject.toml dependencies
So that the SDK is always installed and importable in any project environment
Background:
Given the pyproject.toml file exists at "pyproject.toml"
Scenario: a2a-sdk is listed in project dependencies
When I read the project dependencies from pyproject.toml
Then the dependency list should include a package that provides the "a2a" module
Scenario: a2a module is importable as a project dependency
When I attempt to import the "a2a" module
Then the import should succeed without errors
Scenario: a2a SDK provides the A2AClient class
When I import "a2a.client" and access "A2AClient"
Then the "A2AClient" class should be available