Skip to content

Fix tests with latest dependencies - #1798

Open
brianstrauch wants to merge 3 commits into
mainfrom
fix/google-adk-streaming-mode-import
Open

Fix tests with latest dependencies#1798
brianstrauch wants to merge 3 commits into
mainfrom
fix/google-adk-streaming-mode-import

Conversation

@brianstrauch

@brianstrauch brianstrauch commented Aug 30, 2026

Copy link
Copy Markdown
Member

Summary

  • keep the Google ADK streaming test compatible with supported versions before 2.7 while suppressing the new private-re-export diagnostic in ADK 2.7
  • construct Google GenAI file-search mock results through Pydantic validation so deferred serializers are built before Temporal encodes activity results
  • support both old and new Protobuf descriptor APIs without eagerly reading the label property removed in Protobuf 7
  • fix the test-latest-deps failures observed in https://github.com/temporalio/sdk-python/actions/runs/33324609939/job/99296636937

Testing

With Python 3.13 and a temporary uv lock --upgrade / uv sync --all-extras environment:

  • poe build-develop
  • poe test -s tests/nexus/test_temporal_system_nexus.py tests/contrib/google_genai/test_gemini.py -k "test_system_nexus_proto_roundtrip or test_file_search_store_upload or test_full_integration_with_mock_client" (5 passed)
  • poe lint

@brianstrauch
brianstrauch requested review from a team as code owners August 30, 2026 17:12
@brianstrauch brianstrauch added the skip-changelog PR changes do not require changelog updates label Aug 30, 2026
@brianstrauch brianstrauch changed the title Fix Google ADK 2.7 StreamingMode type check Fix tests with latest dependencies Aug 30, 2026
Comment thread tests/contrib/google_adk_agents/test_adk_streaming.py Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog PR changes do not require changelog updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant