Skip to content

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

@ssig33

Description

@ssig33

Description

.python-version specifies Python 3.10, but onnxruntime 1.24.x only ships wheels for Python 3.11+. uv sync fails out of the box.

Steps to Reproduce

  1. Clone the repo
  2. Run uv sync

Actual vs Expected

  • Actual: error: Distribution onnxruntime==1.24.3 can't be installed because it doesn't have a source distribution or wheel for the current platform
  • Expected: Dependencies install successfully.

Additional Notes

Bumping .python-version to 3.12 fixes it. requires-python in pyproject.toml should probably be updated to >=3.11 as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions