Repository navigation
Conversation
First step of the delivery plan for the LangChain integration: an empty a2a-sdk-langchain package (import name a2a_sdk_langchain) under integrations/langchain, with no public API yet. The package has its own uv.lock so LangChain's dependency tree is not resolved together with the SDK's. During development it installs a2a-sdk from this checkout, so it is tested against the SDK in the same commit. CI runs its ty check and tests in that environment, as extra steps in the existing lint and unit-test workflows; ruff already covers it from the root config.
🧪 Code Coverage (vs
|
The package's own uv.lock pointed a2a-sdk at this checkout, so it embedded the SDK's metadata and went stale on every root dependency change (Dependabot included), failing the package's CI until someone re-locked it by hand. It now depends on the released a2a-sdk from PyPI, as users do: the lock no longer depends on the root pyproject.toml, and the >=1.4.0 floor is what CI tests. Trade-off: an SDK change that breaks the integration is caught when the package's a2a-sdk version is bumped, not in the SDK PR, and a feature that needs new SDK code waits for an SDK release. Dependabot now updates integrations/langchain monthly. Also: exclude integrations/ from the a2a-sdk sdist, document the package's checks, and sort a2a_sdk_langchain as first-party.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
First step of the delivery plan for the LangChain integration: an empty a2a-sdk-langchain package (import name a2a_sdk_langchain) under integrations/langchain, with no public API yet.
The package has its own uv.lock so LangChain's dependency tree is not resolved together with the SDK's. During development it installs a2a-sdk from this checkout, so it is tested against the SDK in the same commit. CI runs its ty check and tests in that environment, as extra steps in the existing lint and unit-test workflows; ruff already covers it from the root config.
Tracked here: #1582