Skip to content

Bump onnxruntime-genai from 0.9.0 to 0.14.1 in /python - #14212

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/python/onnxruntime-genai-0.14.1
Closed

Bump onnxruntime-genai from 0.9.0 to 0.14.1 in /python#14212
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/python/onnxruntime-genai-0.14.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 27, 2026

Copy link
Copy Markdown
Contributor

Bumps onnxruntime-genai from 0.9.0 to 0.14.1.

Release notes

Sourced from onnxruntime-genai's releases.

v0.14.0

What's Changed

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file. Used by Dependabot. python Pull requests for the Python Semantic Kernel labels Jul 27, 2026
Copilot AI review requested due to automatic review settings July 27, 2026 22:13
@dependabot
dependabot Bot requested a review from a team as a code owner July 27, 2026 22:13

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.

Pull request overview

Note

Copilot could not run the full agentic suite for this review because it was automatically requested on a bot-authored pull request. Request a review from Copilot under Reviewers to retry with the full agentic suite. Improved support for bot-authored pull requests is coming soon.

Updates the Python dependency pin for onnxruntime-genai in the onnx optional dependency group.

Changes:

  • Bumps onnxruntime-genai from 0.9.0 to 0.14.1 in pyproject.toml.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread python/pyproject.toml Outdated
Comment on lines +119 to +122
# onnxruntime>=1.24.0 dropped Python 3.10 support; pin to last compatible version for 3.10.
"onnxruntime==1.22.1; python_version == '3.10'",
"onnxruntime>=1.24.3; python_version > '3.10'",
"onnxruntime-genai==0.9.0"
"onnxruntime-genai==0.14.1"
@github-actions github-actions Bot changed the title Bump onnxruntime-genai from 0.9.0 to 0.14.1 in /python Python: Bump onnxruntime-genai from 0.9.0 to 0.14.1 in /python Jul 27, 2026

@github-actions github-actions 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.

Automated Code Review

Reviewers: 5 | Confidence: 93%

✓ Correctness

This PR bumps onnxruntime-genai from 0.9.0 to 0.14.1 in pyproject.toml but does not regenerate python/uv.lock, which still pins onnxruntime-genai==0.9.0. This mismatch will cause uv lock --check and uv sync to fail. The Python 3.10 compatibility gap (already flagged in the existing review thread) is confirmed: 0.14.1 ships no Python 3.10 wheels while the project supports >=3.10 and the same extra explicitly handles 3.10 for onnxruntime.

✓ Security Reliability

This is a straightforward dependency version bump for onnxruntime-genai from 0.9.0 to 0.14.1. The code consuming the library (onnx_gen_ai_completion_base.py) is unchanged. The API surface used (Model, Tokenizer, Generator, GeneratorParams, Images.open, Audios.open, etc.) appears to be stable across these versions based on the upstream release notes. The exact pin (==0.14.1) is appropriate for reproducibility. The existing review comment about missing Python version markers on this dependency is the only notable concern and is already tracked.

✓ Test Coverage

This is a dependency version bump for onnxruntime-genai from 0.9.0 to 0.14.1 with no accompanying code changes. The existing unit tests (27 across text completion, chat completion, utils, and settings) all mock onnxruntime_genai classes, covering the full API surface used by the project (Model, Tokenizer, GeneratorParams, Images, Audios). Since the tests use mocks, they verify the wrapper code's correctness but cannot detect API breaking changes in the bumped library. However, this is a pre-existing architectural decision, not a gap introduced by this PR. No new behavior is added, so no new tests are required.

✓ Failure Modes

The version bump in pyproject.toml from onnxruntime-genai 0.9.0 to 0.14.1 is not accompanied by a uv.lock regeneration. The lockfile at python/uv.lock:3959 still pins version 0.9.0, and at line 6816 the specifier remains ==0.9.0. This means uv sync --frozen (or CI using the lockfile as-is) would silently install the old 0.9.0 version, defeating the purpose of this bump. A uv lock run is needed before merge to bring the lockfile in sync.

✗ Design Approach

The dependency bump is incomplete in the repo’s uv-managed workflow: pyproject.toml now asks for onnxruntime-genai==0.14.1, but the checked-in lockfile still pins 0.9.0, so documented lock-based installs do not actually get the new version. I did not find a second design issue beyond that.

Flagged Issues

  • python/pyproject.toml now requests onnxruntime-genai==0.14.1, but python/uv.lock still pins onnxruntime-genai to 0.9.0 (python/uv.lock:3958-3960, python/uv.lock:6816). This violates the repo's own invariant to update the uv lockfile when python/pyproject.toml changes (python/.pre-commit-config.yaml:44-47) and means lock-based installs such as the documented uv sync flow (python/DEV_SETUP.md:40-43) will not receive the bumped package.

Automated review by dependabot[bot]'s agents

Comment thread python/pyproject.toml Outdated
"onnxruntime==1.22.1; python_version == '3.10'",
"onnxruntime>=1.24.3; python_version > '3.10'",
"onnxruntime-genai==0.9.0"
"onnxruntime-genai==0.14.1"

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.

python/uv.lock still resolves onnxruntime-genai as 0.9.0 (package block at line 3958, specifier at line 6816). The repo's pre-commit hook (python/.pre-commit-config.yaml:44-47) requires the lockfile to be updated when pyproject.toml changes. As-is, uv lock --check will fail and uv sync --frozen will silently install the old 0.9.0 version, completely negating this bump. Please run uv lock --upgrade-package onnxruntime-genai from the python/ directory and commit the updated uv.lock.

@github-actions

Copy link
Copy Markdown
Contributor

Flagged issue

python/pyproject.toml now requests onnxruntime-genai==0.14.1, but python/uv.lock still pins onnxruntime-genai to 0.9.0 (python/uv.lock:3958-3960, python/uv.lock:6816). This violates the repo's own invariant to update the uv lockfile when python/pyproject.toml changes (python/.pre-commit-config.yaml:44-47) and means lock-based installs such as the documented uv sync flow (python/DEV_SETUP.md:40-43) will not receive the bumped package.


Source: automated DevFlow PR review

Bumps [onnxruntime-genai](https://github.com/microsoft/onnxruntime-genai) from 0.9.0 to 0.14.1.
- [Release notes](https://github.com/microsoft/onnxruntime-genai/releases)
- [Commits](https://github.com/microsoft/onnxruntime-genai/commits)

---
updated-dependencies:
- dependency-name: onnxruntime-genai
  dependency-version: 0.14.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title Python: Bump onnxruntime-genai from 0.9.0 to 0.14.1 in /python Bump onnxruntime-genai from 0.9.0 to 0.14.1 in /python Jul 29, 2026
@dependabot
dependabot Bot force-pushed the dependabot/pip/python/onnxruntime-genai-0.14.1 branch from a9b0d37 to aead170 Compare July 29, 2026 10:45
pull Bot pushed a commit to Ricky-G/semantic-kernel that referenced this pull request Jul 29, 2026
### Motivation and Context

Consolidates the currently open Python and .NET Dependabot updates into
one coordinated dependency change. This reduces duplicate review and CI
work while preserving each source PR's update intent.

The npm and Yarn updates are intentionally excluded from this draft and
remain in their original Dependabot PRs.

### Related Issue

Supersedes:

- microsoft#14178
- microsoft#14184
- microsoft#14185
- microsoft#14186
- microsoft#14187
- microsoft#14188
- microsoft#14189
- microsoft#14191
- microsoft#14192
- microsoft#14202
- microsoft#14203
- microsoft#14204
- microsoft#14205
- microsoft#14207
- microsoft#14208
- microsoft#14211
- microsoft#14212
- microsoft#14213
- microsoft#14214
- microsoft#14215
- microsoft#14216
- microsoft#14217
- microsoft#14218
- microsoft#14219
- microsoft#14221

### Description

- Updates the selected .NET Aspire and AWS SDK package versions in
central package management.
- Updates the selected Python requirements and regenerates both affected
uv lockfiles without losing earlier bumps.
- Keeps the compatible ONNX Runtime/GenAI pair on Python 3.10 while
applying ONNX Runtime GenAI 0.14.1 on Python 3.11 and newer.
- Retains pyOpenSSL 26.2.0, which is newer than the 26.0.0 requested by
its source PR and is required by the consolidated cryptography update.
- Uses Pinecone 7.3 or newer on Windows, where Pinecone 7.0.1 imports
the unavailable Unix `readline` module, while retaining the existing
`~=7.0` range on macOS and Linux.
- Constrains MCP to the compatible 1.x API because the current Semantic
Kernel integration imports interfaces removed by MCP 2.0.

### Validation

- Python unit tests passed across Python 3.10-3.13 on Ubuntu, Windows,
and macOS, including Dapr jobs.
- Python pre-commit, lock validation, spell checking, and
integration-test aggregate checks passed.
- .NET 9/10 builds, package-install checks, unit tests, AOT tests,
formatting, and coverage checks passed on Ubuntu and Windows.
- Merge Gatekeeper passed.

### Contribution Checklist

- [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 😄
@moonbox3

Copy link
Copy Markdown
Collaborator

Superseded by #14222

@moonbox3 moonbox3 closed this Jul 30, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/pip/python/onnxruntime-genai-0.14.1 branch July 30, 2026 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file. Used by Dependabot. python Pull requests for the Python Semantic Kernel

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants