Repository navigation
chore(deps): weekly dependency update - #1205
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6305700fbf
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "Codex (@codex) review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "Codex (@codex) address that feedback".
Re-record latest cassettes for the minor bumps (openai, anthropic, openai-agents, litellm/dspy, cursor-sdk, strands, pydantic-ai and harness, instructor, mistralai). - Hold livekit-agents at 1.8.12: 1.9.0 adds handoff_protocol to the inference STT/TTS session.create, and re-recording needs LiveKit inference credentials. - Hold huggingface-hub at 2.4.0: 2.5.0 routes named-provider chat calls through the auto-router (/v1/chat/completions, model:provider), so the latest chat cassettes need a re-record with a funded HF token. - Gate test_typesafe(latest) and typesafe linting to Python 3.11+: typesafe-sdk 0.7.6 requires Python 3.11. - mistral tests: read cached_tokens from a dict or the PromptTokensDetails model that mistralai 3.9 returns. - instructor retry test: stop leaking the upper-case rule through the tool name and docstring, so the first answer reliably fails validation.
Automated weekly dependency update via
python scripts/update-matrix-latest.py, advancing theuvexclude-newercutoff, anduv lock --upgrade. Cassettes refreshed locally.latestbumpsHeld pins: livekit-agents 1.9.0 adds
handoff_protocolto the inference STT/TTSsession.create, and huggingface-hub 2.5.0 routes named-provider chat through the auto-router (/v1/chat/completions,model:provider). Both breaklatestreplay, and re-recording needs credentials we don't have locally (LiveKit inference keys, a funded HF token). The weekly job will bump them again; revert them on each weekly PR until #1211 is closed.Cassettes
latest/and recorded fresh inoncemode, no Braintrust key):openai(incl.btx/),anthropic,openai_agents,litellm,dspy,cursor_sdk,strands,pydantic_ai,pydantic_ai/harness,instructor,mistral. Same file set; structural diff shows only regenerated resource IDs, plus one extra batch-status poll inTestBatchesResultsSpans.test_batches_results_produces_span[sync]. No Braintrust API pollution.instructor/cassettes/1.11.0/…test_instructor_openai_retries_then_succeeds.yaml, because the test's response model was renamed (below).SDK and test changes
test_typesafe(latest)now hasmin_python: 3.11and calls_skip_if_incompatible;pylinton 3.10 skips installing typesafe and doesn't lint the typesafe integration (its tests use 0.7-only APIs). The CI sharder dropstest_typesafe(latest)on 3.10;test_typesafe(0.6.0)still covers it.usage.prompt_tokens_detailsas aPromptTokensDetailsmodel instead of a dict; the two assertions now accept either. The SDK already handled it.ShoutedPersonand the class docstring ("name must be upper-case") are sent as the tool schema, so the model sometimes answeredADAfirst and no retry happened. Renamed toExtractedPersonand moved the explanation into a comment.Validation (local, replay-only with
CI=true, noBRAINTRUST_API_KEY)latestsession plustest_openai_ddtrace,test_mcp_interop,test_core,test_braintrust_core(pipecat and crewai on Python 3.13): all pass after the changes above.test_mistral(latest|2.10.1|1.12.4),test_instructor(latest|1.11.0),test_typesafe(latest|0.6.0),test_ai_sdk(latest), all pass.pylinton Python 3.10 and 3.14,make check-stale-cassettes,uv lock --check, pre-commit: pass.test_livekit_agents(latest)onmainhad one load-sensitive audio-similarity flake (test_realtime_conversation[no_transcription_interrupt], 0.794 vs 0.8) while running in parallel with other sessions; it passed on this branch.Follow-ups
Research on the minor bumps found no required SDK changes beyond the above. New upstream surfaces to trace are listed in #1212.