Skip to content

fix(aws): restore realtime plugin imports across SDK releases - #7004

Closed
mikemikimike wants to merge 2 commits into
livekit:mainfrom
mikemikimike:fix/aws-realtime-sdk-imports-6994
Closed

fix(aws): restore realtime plugin imports across SDK releases#7004
mikemikimike wants to merge 2 commits into
livekit:mainfrom
mikemikimike:fix/aws-realtime-sdk-imports-6994

Conversation

@mikemikimike

Copy link
Copy Markdown
Contributor

Summary

The AWS Realtime plugin imported the removed synchronous Bedrock client and configuration symbols, so it could not be imported with the supported aws-sdk-bedrock-runtime releases.

This changes the plugin to use the async Bedrock client API and the generated SDK's authentication/configuration modules. A regression test verifies the supported async client/configuration surface.

Validation

  • ruff check passed for the changed Python files.
  • python -m compileall passed for the changed module.
  • git diff --check passed.
  • The focused pytest command could not run because the repository's frozen environment setup timed out while downloading large optional dependencies; the created environment does not contain pytest.

Closes #6994.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔍 Devin Review: 1 flag

Not posted on this PR by your GitHub settings — view it in Devin Review. (Configure)

Devin Review

@longcw

longcw commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

duplicates #7002

@longcw longcw closed this Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ImportError: livekit-plugins-aws 1.7.0 realtime module incompatible with aws-sdk-bedrock-runtime 0.10.0 and 0.11.0

2 participants