Skip to content

Commit 24109aa

Browse files
Python: fix for import without realtime extra (#10851)
### Motivation and Context <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> fix #10848 ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> When importing anything from semantic_kernel.connectors.ai.openai it already needs websocket and aiortc, so moved those. Kept the extra for now, while we build a more sustainable fix. ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [x] The code builds clean without any errors or warnings - [x] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [x] All unit tests pass, and I have added new tests where possible - [x] I didn't break anyone 😄
1 parent 125074b commit 24109aa

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

python/pyproject.toml

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ dependencies = [
3737
"openai ~= 1.61",
3838
# openapi and swagger
3939
"openapi_core >= 0.18,<0.20",
40+
"websockets >= 13, < 15",
41+
"aiortc>=1.9.0",
4042
# OpenTelemetry
4143
"opentelemetry-api ~= 1.24",
4244
"opentelemetry-sdk ~= 1.24",

python/uv.lock

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)