Skip to content

Fix #16: [Bug]: onnxruntime 1.24.x requires Python 3.11+ but .python-...#20

Open
JiwaniZakir wants to merge 1 commit into
ymx10086:mainfrom
JiwaniZakir:fix/16-bug-onnxruntime-1-24-x-requires-python
Open

Fix #16: [Bug]: onnxruntime 1.24.x requires Python 3.11+ but .python-...#20
JiwaniZakir wants to merge 1 commit into
ymx10086:mainfrom
JiwaniZakir:fix/16-bug-onnxruntime-1-24-x-requires-python

Conversation

@JiwaniZakir
Copy link
Copy Markdown

Closes #16

Description

.python-version specifies Python 3.10, but onnxruntime 1.24.x only ships wheels for Python 3.11+, causing uv sync to fail immediately after cloning. This PR bumps the pinned Python version to 3.12 and tightens requires-python in pyproject.toml to reflect the actual minimum supported version.

Changes:

  • .python-version: 3.103.12
  • pyproject.toml: requires-python = ">=3.10, <3.14"">=3.11, <3.14"
  • pyproject.toml classifiers: removed Programming Language :: Python :: 3.10

Related Issue: Fixes #16

Security Considerations: N/A

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation
  • Refactoring

Component(s) Affected

  • Core / Backend (app, agents, config, providers, utils, local_models)
  • Console (frontend web UI)
  • Channels (DingTalk, Feishu, QQ, Discord, iMessage, etc.)
  • Skills
  • CLI
  • Documentation (website)
  • Tests
  • CI/CD
  • Scripts / Deploy

Checklist

  • Pre-commit hooks pass (pre-commit run --all-files or CI)
  • Tests pass locally (pytest or as relevant)
  • Documentation updated (if needed)
  • Ready for review

Testing

  1. Clone the repo
  2. Ensure Python 3.12 is available (e.g. via uv python install 3.12)
  3. Run uv sync — all dependencies, including onnxruntime==1.24.3, should resolve and install without error

Additional Notes

Python 3.10 reached end-of-life in October 2024. Dropping it from the supported range is consistent with the direction of the ecosystem. Users still on Python 3.10 would have been unable to uv sync at all due to the missing onnxruntime wheel, so this is not a meaningful regression.


This PR was created with AI assistance (Claude). The changes were reviewed by quality gates and a critic model before submission.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

[Bug]: onnxruntime 1.24.x requires Python 3.11+ but .python-version is 3.10

1 participant