Skip to content

Python: Consolidate Dependabot dependency updates - #14552

Merged
Eduard van Valkenburg (eavanvalkenburg) merged 2 commits into
microsoft:mainfrom
eavanvalkenburg:python-dependency-updates
Oct 6, 2026
Merged

Eduard van Valkenburg (eavanvalkenburg) merged 2 commits into
microsoft:mainfrom
eavanvalkenburg:python-dependency-updates

Conversation

@eavanvalkenburg

Copy link
Copy Markdown
Member

Motivation and Context

Consolidates the currently open Python Dependabot updates into one reviewable pull request while preserving the compatibility fixes already applied to those PRs.

Supersedes #14463, #14462, #14456, #14393, #14392, #14391, #14336, and #14256.

Description

  • Updates the root Python dependency ranges for google-genai and websockets.
  • Keeps mistralai on its compatible 1.x API and retains the existing mcp<2.0 bound because both 2.x updates break current connectors.
  • Updates onnxruntime-genai to 0.15.2 for Python 3.11+ while retaining 0.9.0 for Python 3.10.
  • Updates the root lockfile to anyio 4.14.2, soupsieve 2.9, google-genai 1.75.0, websockets 16.1.1, and the compatible ONNX GenAI pins.
  • Updates the OAuth server lockfile to anyio 4.14.2 and removes its obsolete sniffio dependency.
  • Regenerates and validates the lockfiles with the CI-pinned uv 0.5.31.

Validation:

  • uvx --from 'uv==0.5.31' uv lock --check passed for both lockfiles.
  • uvx --from 'uv==0.5.31' uv sync --all-extras --dev --frozen --quiet passed.
  • uvx --from 'uv==0.5.31' uv run --frozen pytest ./tests/unit --ignore=tests/unit/processes/dapr_runtime passed.
  • The OAuth server dependency environment resolves with uv sync --frozen --no-install-project; its editable package build remains blocked by the sample's pre-existing missing README.md.

Contribution Checklist

Copilot AI 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.

Copilot review overview

🟢 Approval recommended

Dependency constraints and generated lockfiles are consistent with the stated compatibility requirements and validation.

Review effort: Balanced
Findings: None

What changed in this PR

Consolidates Python dependency updates while preserving compatibility bounds for breaking major versions.

Changes:

  • Updates dependency ranges and Python-version-specific ONNX pins.
  • Regenerates root and OAuth sample lockfiles.
  • Marks uv.lock files as generated.
File Description
.gitattributes Marks uv lockfiles as generated.
python/​pyproject.toml Updates dependency constraints.
python/​uv.lock Locks updated dependency versions.
python/​samples/​demos/​mcp_with_oauth/​server/​uv.lock Updates AnyIO and removes obsolete Sniffio.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@semantic-kernel-automation semantic-kernel-automation Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

MAF Automated Review — Iteration 1

Result: No findings
Scope: full PR (2 commit(s)): ac5e9c0424fc, f040c3556b06
Model: gpt-5.6-sol

Overview

The PR consistently updates dependency bounds and regenerated lockfiles while preserving explicit compatibility caps for MCP, Mistral, WebSockets, Google GenAI, and Python 3.10 ONNX users. The strongest guardrails are matching lock metadata, Python-version markers, modern WebSockets call sites, and frozen cross-platform unit-test coverage. Both lockfiles pass uv lock --check, and no publishable correctness, architecture, or security defect was established.

Reviewed the supplied pull-request change set across correctness, security/reliability, architecture, and failure behavior.
No publishable findings remained after source verification for this scope.

Merged via the queue into microsoft:main with commit 625640b Oct 6, 2026
32 checks passed
@eavanvalkenburg
Eduard van Valkenburg (eavanvalkenburg) deleted the python-dependency-updates branch October 6, 2026 12:17
Boz (bozza-man) pushed a commit to Bruteforce-Group/semantic-kernel that referenced this pull request Oct 6, 2026
### Motivation and Context

Prepares the Semantic Kernel Python package for the `1.45.0` release
after microsoft#14551 and microsoft#14552 merged.

<!-- 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.
-->

### Description

Updates `semantic_kernel.__version__` from `1.44.1` to `1.45.0`.

Validated the publishable package with `uv build --no-sources`; it
produced:

- `semantic_kernel-1.45.0.tar.gz`
- `semantic_kernel-1.45.0-py3-none-any.whl`

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [x] The code builds clean without any errors or warnings
- [ ] 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
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄

This branch was previously deployed

1 inactive deployment
github-app-auth — f040c355 Deployed Oct 6, 2026 by eavanvalkenburg via add_label #29273
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python Pull requests for the Python Semantic Kernel

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants