Fix #16: [Bug]: onnxruntime 1.24.x requires Python 3.11+ but .python-...#20
Open
JiwaniZakir wants to merge 1 commit into
Open
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #16
Description
.python-versionspecifies Python 3.10, butonnxruntime1.24.x only ships wheels for Python 3.11+, causinguv syncto fail immediately after cloning. This PR bumps the pinned Python version to 3.12 and tightensrequires-pythoninpyproject.tomlto reflect the actual minimum supported version.Changes:
.python-version:3.10→3.12pyproject.toml:requires-python = ">=3.10, <3.14"→">=3.11, <3.14"pyproject.tomlclassifiers: removedProgramming Language :: Python :: 3.10Related Issue: Fixes #16
Security Considerations: N/A
Type of Change
Component(s) Affected
Checklist
pre-commit run --all-filesor CI)pytestor as relevant)Testing
uv python install 3.12)uv sync— all dependencies, includingonnxruntime==1.24.3, should resolve and install without errorAdditional 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 syncat all due to the missingonnxruntimewheel, 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.