fix(dependencies): clarify missing Vertex AI extra#5904
Closed
he-yufeng wants to merge 1 commit into
Closed
Conversation
e6a1b2f to
3837163
Compare
copybara-service Bot
pushed a commit
that referenced
this pull request
Jun 2, 2026
Merge #5904 Change-Id: I7046548303aeb66bab1956b70803fc13b6be7d38
Collaborator
|
Thank you @he-yufeng for your contribution! 🎉 Your changes have been successfully imported and merged via Copybara in commit fde6a2b. Closing this PR as the changes are now in the main branch. |
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.
Summary
vertexaiimports in the Vertex AI dependency shimgoogle-adk[gcp]orgoogle-adk[all]Fixes #5864.
To verify
python -m pytest tests\unittests\test_optional_dependencies.py -qpython -m py_compile src\google\adk\dependencies\vertexai.py tests\unittests\test_optional_dependencies.pypython -m pyink --check src\google\adk\dependencies\vertexai.py tests\unittests\test_optional_dependencies.pypython -m pylint src\google\adk\dependencies\vertexai.pygit diff --checkNote: running pylint against the whole optional-dependencies test file still reports pre-existing style warnings unrelated to this change, so I only used pylint on the touched shim module.