Skip to content

chore(deps): refresh dependencies with LiteLLM compatibility cap#1051

Merged
phernandez merged 1 commit into
mainfrom
codex/cap-litellm-pyo3
Jul 14, 2026
Merged

chore(deps): refresh dependencies with LiteLLM compatibility cap#1051
phernandez merged 1 commit into
mainfrom
codex/cap-litellm-pyo3

Conversation

@phernandez

Copy link
Copy Markdown
Member

Why

uv sync --upgrade resolved LiteLLM 1.92.0, which replaced the universal Python wheel with a native Rust bridge. On macOS, uv falls back to the source distribution and the bundled PyO3 0.23.5 rejects Python 3.14.

The dependency refresh also upgrades ty, whose current default exits nonzero for advisory warnings as well as type errors.

What

  • cap LiteLLM below 1.92.0 while Basic Memory supports Python 3.14
  • lock LiteLLM 1.91.3, the latest compatible universal wheel
  • retain the rest of the dependency refresh
  • keep ty advisory diagnostics visible without making them fail the typecheck gate

Verification

  • uv sync --upgrade
  • clean frozen install under Python 3.14.5 with litellm==1.91.3 import
  • uv lock --check
  • uv run pytest tests/repository/test_litellm_provider.py test-int/semantic/test_litellm_live_harness.py -q — 32 passed
  • just package-check
  • just typecheck — passed with existing Python 3.14 asyncio deprecation warnings visible

Local gate notes

  • just fast-check invalidated testmon after the environment refresh and entered the full suite. Semantic setup could not connect to the configured OrbStack Docker socket; representative later failures passed when rerun in isolation.
  • just doctor completed the file-to-database, database-to-file, search, and embedding checks, then hit the existing cleanup guard that prevents deleting the only default project in an isolated configuration.

Signed-off-by: phernandez <paul@basicmachines.co>
@phernandez phernandez merged commit e57ee07 into main Jul 14, 2026
23 checks passed
@phernandez phernandez deleted the codex/cap-litellm-pyo3 branch July 14, 2026 00:32
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.

1 participant