Skip to content

Python: Bump onnxruntime-genai from 0.9.0 to 0.15.0 in /python - #14255

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

Python: Bump onnxruntime-genai from 0.9.0 to 0.15.0 in /python#14255
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/python/onnxruntime-genai-0.15.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 3, 2026

Copy link
Copy Markdown
Contributor

Bumps onnxruntime-genai from 0.9.0 to 0.15.0.

Release notes

Sourced from onnxruntime-genai's releases.

v0.15.0

What's Changed

... (truncated)

Commits
  • dfdc254 Version 0.15.0
  • 832889e Fix Apple telemetry packaging builds (#2331)
  • 5423fd1 Add cross-platform 1DS telemetry to the compiled library (opt-out) (#2293)
  • ac7df6f Clean up config path validation: free function in config.cpp, tests via C API...
  • cbef334 Fix C# native bool marshaling (#2327)
  • 3868119 Add Tool Calling and Reasoning Token Metadata to genai_config.json with Fal...
  • d66e6b0 Remove onnxruntime-genai-cuda.dll from foundry package win-arm64 rid (#2329)
  • a2cad1e Update prechecks in model builder (#2312)
  • f09256f Add address validation feature (#2223)
  • 0be0a44 [WebGPU] append WebGPUExecutionProvider to config (#2326)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [onnxruntime-genai](https://github.com/microsoft/onnxruntime-genai) from 0.9.0 to 0.15.0.
- [Release notes](https://github.com/microsoft/onnxruntime-genai/releases)
- [Commits](microsoft/onnxruntime-genai@v0.9.0...v0.15.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file. Used by Dependabot. python Pull requests for the Python Semantic Kernel labels Aug 3, 2026
Copilot AI review requested due to automatic review settings August 3, 2026 22:13
@dependabot
dependabot Bot requested a review from a team as a code owner August 3, 2026 22:13
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file. Used by Dependabot. python Pull requests for the Python Semantic Kernel labels Aug 3, 2026
@github-actions github-actions Bot changed the title Bump onnxruntime-genai from 0.9.0 to 0.15.0 in /python Python: Bump onnxruntime-genai from 0.9.0 to 0.15.0 in /python Aug 3, 2026

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 pins for the onnx extra, specifically adjusting the Python 3.10 onnxruntime-genai version.

Changes:

  • Bumped onnxruntime-genai pin for Python 3.10 from 0.9.0 to 0.15.0.

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

Comment thread python/pyproject.toml
Comment on lines 119 to +122
# onnxruntime>=1.24.0 dropped Python 3.10 support; retain the last compatible runtime/genai pair for 3.10.
"onnxruntime==1.22.1; python_version == '3.10'",
"onnxruntime>=1.26.0; python_version > '3.10'",
"onnxruntime-genai==0.9.0; python_version == '3.10'",
"onnxruntime-genai==0.15.0; python_version == '3.10'",

@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: 65%

✓ Correctness

The bump applies onnxruntime-genai 0.15.0 to the Python 3.10 line while the Python > 3.10 line remains at 0.14.1. This creates an inversion where the constrained/legacy Python 3.10 environment gets a newer genai version than the primary Python > 3.10 environment. This is almost certainly applied to the wrong line — the existing review comment about onnxruntime 1.22.1 compatibility further supports this being incorrect.

✓ Security Reliability

This PR bumps onnxruntime-genai from 0.9.0 to 0.15.0 for the Python 3.10 environment marker. The existing unresolved review comment correctly identifies the primary concern: compatibility between onnxruntime==1.22.1 (pined for 3.10) and onnxruntime-genai==0.15.0. Additionally, the change creates a version inversion where Python 3.10 would get a newer genai (0.15.0) than Python >3.10 (0.14.1), which is suspicious and likely a mistake. No new security issues (injection, secrets, deserialization) are introduced by this dependency version bump.

✓ Test Coverage

This is a dependency version bump for onnxruntime-genai (0.9.0 → 0.15.0) constrained to Python 3.10. The existing unresolved review comment already covers the compatibility concern with the pined onnxruntime==1.22.1. From a test coverage standpoint, dependency bumps of this nature typically rely on CI integration tests rather than new unit tests. There are no new behavioral changes in the project's own code that would require additional test coverage. The PR is a pure dependency pin change with no corresponding code modifications to test.

✓ Failure Modes

This PR bumps onnxruntime-genai from 0.9.0 to 0.15.0 for Python 3.10, but the existing unresolved review comment already covers the primary concern: potential incompatibility between onnxruntime-genai==0.15.0 and the pined onnxruntime==1.22.1 on Python 3.10. Additionally, the Python 3.10 variant (0.15.0) is now a higher version than the Python >3.10 variant (0.14.1), which is an inconsistency that could indicate an error. No additional failure modes beyond what's already flaged were found.

✓ Design Approach

I did not identify an additional design-approach issue in this diff. The change is limited to a version pin update, and aside from the already-open compatibility concern on this line, the provided evidence does not establish a repo-local invariant violation, a silently mishandled code path, or a clearly better existing pattern that this approach contradicts.


Automated review by dependabot[bot]'s agents

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

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.

This creates a version inversion: Python 3.10 (with onnxruntime==1.22.1) would now get onnxruntime-genai 0.15.0, while Python >3.10 (with onnxruntime>=1.26.0) stays on the older 0.14.1 on line 123. The newer genai release almost certainly requires a newer onnxruntime, so this bump likely belongs on line 123 (the Python >3.10 line) rather than here.

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

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.

Version inversion: this pins onnxruntime-genai==0.15.0 for Python 3.10 (paired with onnxruntime==1.22.1), while Python >3.10 (paired with onnxruntime>=1.26.0) gets the older onnxruntime-genai==0.14.1 on line 123. This is likely backwards — a newer genai release typically requires a newer onnxruntime. If the goal is to bump genai broadly, line 123 should get 0.15.0 and line 122 should retain a version known-compatible with onnxruntime 1.22.1.

Suggested change
"onnxruntime-genai==0.15.0; python_version == '3.10'",
"onnxruntime-genai==0.9.0; python_version == '3.10'",

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.

1 participant