Repository navigation
fix: add Python 3.14 compatibility for onnxruntime dependency - #198
Merged
Merged
Conversation
Add python_version < '3.14' marker to onnxruntime in rag and memory extras since onnxruntime doesn't have wheels for Python 3.14 yet. This allows the package to be installed on Python 3.14, though the rag and memory features won't be available until onnxruntime adds 3.14 support.
basnijholt
force-pushed
the
fix/python-314-compat
branch
from
January 13, 2026 09:38
5673404 to
d6b3d2b
Compare
chromadb depends on pypika which uses ast.Str (removed in Python 3.14)
When chromadb or onnxruntime are missing on Python 3.14+, show a clear message explaining that these dependencies don't support Python 3.14 yet, instead of the generic 'install with pip' message.
3 tasks
basnijholt
added a commit
that referenced
this pull request
Jan 22, 2026
Since requires-python is now <3.14, we no longer need individual python_version < '3.14' constraints on onnxruntime, chromadb, silero-vad, and markitdown. Also removes the Python 3.14 runtime check from deps.py since the package won't install on 3.14 at all. Reverts the approach from #198.
basnijholt
added a commit
that referenced
this pull request
Jan 22, 2026
Since requires-python is now <3.14, we no longer need individual python_version < '3.14' constraints on onnxruntime, chromadb, silero-vad, and markitdown. Also removes the Python 3.14 runtime check from deps.py since the package won't install on 3.14 at all. Reverts the approach from #198.
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.
Summary
Add
python_version < '3.14'markers tochromadbandonnxruntimein theragandmemoryextras, plus a helpful runtime error message for users on Python 3.14.This allows the package to be installed on Python 3.14, though the rag and memory features will not be available until upstream dependencies add 3.14 support.
Problem
When running
uv tool install agent-clion Python 3.14, the installation would fail or fall back to an older version because:onnxruntime(no Python 3.14 wheels)pypika(usesast.Strremoved in Python 3.14)Changes
python_version < '3.14'constraints to chromadb and onnxruntimeagent_cli/core/deps.pywith helpful error messageUpstream issues
Related
Test plan
uv sync --all-extrasworks on Python 3.13 (installs all deps)