-
Notifications
You must be signed in to change notification settings - Fork 770
Add missing dependencies to fix test failures #513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -4,7 +4,12 @@ version = "0.1.0" | |||||||||
| description = "A2UI Extension" | ||||||||||
| readme = "README.md" | ||||||||||
| requires-python = ">=3.10" | ||||||||||
| dependencies = ["a2a-sdk>=0.3.0"] | ||||||||||
| dependencies = [ | ||||||||||
| "a2a-sdk>=0.3.0", | ||||||||||
| "google-adk>=1.8.0", | ||||||||||
| "google-genai>=1.27.0", | ||||||||||
| "jsonschema>=4.0.0" | ||||||||||
| ] | ||||||||||
|
|
||||||||||
| [build-system] | ||||||||||
| requires = ["hatchling"] | ||||||||||
|
|
@@ -29,3 +34,8 @@ pyink-annotation-pragmas = [ | |||||||||
| "pyre-", | ||||||||||
| ] | ||||||||||
|
|
||||||||||
| [dependency-groups] | ||||||||||
| dev = [ | ||||||||||
| "pytest>=9.0.2", | ||||||||||
| "pytest-asyncio>=1.3.0", | ||||||||||
|
Comment on lines
+39
to
+40
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Similar to the main dependencies, it's a good practice to add an upper bound to development dependencies like
Suggested change
|
||||||||||
| ] | ||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.0forgoogle-adkandgoogle-genai,<5.0.0forjsonschema) or using the compatible release operator (~=) can provide more stability and prevent potential issues with future releases.