Skip to content

Conversation

@nan-yu
Copy link
Collaborator

@nan-yu nan-yu commented Jan 20, 2026

uv run --with pytest pytest tests/test_send_a2ui_to_client_toolset.py currently fails due to missing dependencies. This commit updates the project configurations to fix the test failures.

Description

Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.

List which issues are fixed by this PR. For larger changes, raising an issue first helps reduce redundant work.

Pre-launch Checklist

If you need help, consider asking for advice on the discussion board.

`uv run --with pytest pytest tests/test_send_a2ui_to_client_toolset.py`
currently fails due to missing dependencies. This commit updates the
project configurations to fix the test failures.
@github-project-automation github-project-automation bot moved this to Todo in A2UI Jan 20, 2026
@nan-yu nan-yu requested a review from dmandar January 20, 2026 22:38
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

The pull request effectively addresses the issue of missing dependencies by updating the pyproject.toml file. The addition of google-adk, google-genai, and jsonschema to the main dependencies, and pytest and pytest-asyncio to a new dev dependency group, correctly resolves the reported test failures. The PR description also includes a completed pre-launch checklist, which is a good practice.

Comment on lines +9 to +11
"google-adk>=1.8.0",
"google-genai>=1.27.0",
"jsonschema>=4.0.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Consider adding an upper bound to these external dependencies. Using only >= can lead to unexpected breaking changes if a new major version is released. Specifying an upper bound (e.g., <2.0.0 for google-adk and google-genai, <5.0.0 for jsonschema) or using the compatible release operator (~=) can provide more stability and prevent potential issues with future releases.

Suggested change
"google-adk>=1.8.0",
"google-genai>=1.27.0",
"jsonschema>=4.0.0"
"google-adk>=1.8.0,<2.0.0",
"google-genai>=1.27.0,<2.0.0",
"jsonschema>=4.0.0,<5.0.0"

Comment on lines +39 to +40
"pytest>=9.0.2",
"pytest-asyncio>=1.3.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Similar to the main dependencies, it's a good practice to add an upper bound to development dependencies like pytest and pytest-asyncio. This helps prevent unexpected major version upgrades that might introduce breaking changes to your test suite. For example, pytest>=9.0.2,<10.0.0.

Suggested change
"pytest>=9.0.2",
"pytest-asyncio>=1.3.0",
"pytest>=9.0.2,<10.0.0",
"pytest-asyncio>=1.3.0,<2.0.0",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant