Contributor gates cannot start on Python 3.13+: committed uv.lock pins onnxruntime==1.19.2
Every make target fails in 0 seconds on Python 3.13 or newer, before running the tool it names:
$ python3 --version
Python 3.14.7
$ make install
uv sync
Using CPython 3.14.7
Creating virtual environment at: .venv
Resolved 120 packages in 4ms
error: Distribution `onnxruntime==1.19.2 @ registry+https://pypi.org/simple` can't be installed because it doesn't have a source distribution or wheel for the current platform
hint: You're using CPython 3.14 (`cp314`), but `onnxruntime` (v1.19.2) only has wheels with the following Python ABI tags: `cp39`, `cp310`, `cp311`, `cp312`
make: *** [Makefile:44: install] Error 2
make lint, make type-check and make test-unit fail identically, because uv run resolves the project environment before running the command — so the output blames ruff and mypy, neither of which was reached.
Why this is a contradiction inside the repo, not an environment quirk
pyproject.toml:requires-python = ">=3.9"— no upper bound — and it advertisesProgramming Language :: Python :: 3.13.github/workflows/ci.ymlruns a3.9–3.13matrix- the committed
uv.lockpinsonnxruntime==1.19.2(tracked;891c166), whose only wheels arecp39/cp310/cp311/cp312
The declared support range and the locked dependency disagree, and the third fact is only visible by reading uv.lock.
Scope — checked, because it would have been easy to overstate
This affects the contributor path, not users. The published package resolves cleanly on both interpreters:
$ uv venv --python 3.13 /tmp/p
$ uv pip install --python /tmp/p/bin/python --dry-run withoutbg
+ withoutbg==1.2.1
What I did not check
- Whether the gates pass on 3.9–3.12. I established only that they fail above 3.12; I am not claiming the suite is otherwise broken or otherwise fine.
- Whether refreshing the lock fixes it.
onnxruntime1.30.0 is on PyPI withrequires_python >=3.11, which suggests it would — "suggests" is as strong as I am willing to put it without running it.
Possible fixes, for your judgement, not a patch
uv lock --upgrade-package onnxruntimeto pick up a release withcp313/cp314wheels, or- pin the contributor interpreter (
.python-version) souvstops choosing one the lock cannot satisfy, or - narrow
requires-python/ drop the 3.13 classifier to match what the lock actually supports.
I found this while checking whether this repository's gates were reproducible locally, and I am reporting it rather than opening a PR because which of the three fixes you want is a policy choice about the support range.
:tada: This issue has been resolved in version 1.3.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket: