Skip to content

Commit 049b431

Browse files
chore(deps): weekly dependency update (#1205)
Automated weekly dependency update via `python scripts/update-matrix-latest.py`, advancing the `uv` `exclude-newer` cutoff, and `uv lock --upgrade`. Cassettes refreshed locally. ## `latest` bumps | Type | Packages | |---|---| | Minor, cassettes re-recorded | openai 3.57.0→3.60.0, anthropic 2.12.0→2.14.0, openai-agents 0.25.0→0.26.0, litellm 1.110.2→1.111.1 (+ dspy, which installs it), cursor-sdk 1.4.2→1.5.2, strands-agents 1.65.0→1.68.0, pydantic-ai 2.75.0→2.77.0, pydantic-ai-harness 0.75.0→0.77.0, instructor 1.17.0→1.18.0, mistralai 3.8.0→3.9.0 | | Minor, playback only (no cassette dir) | autoevals 0.5.0→0.6.0, temporalio 1.36.1→1.37.0 | | Patch, playback only | fastmcp / fastmcp-slim 4.2.6, claude-agent-sdk 0.2.189, deepagents 0.7.43, crewai 1.15.45, google-adk 2.15.1, langchain-core 1.8.5, openrouter 1.3.213, typesafe-sdk 0.7.6, transformers 5.24.1, boto3 / botocore 1.44.14 | | **Held** | livekit-agents stays at 1.8.12 (wants 1.9.0), huggingface-hub stays at 2.4.0 (wants 2.5.0): see #1211 | Held pins: livekit-agents 1.9.0 adds `handoff_protocol` to the inference STT/TTS `session.create`, and huggingface-hub 2.5.0 routes named-provider chat through the auto-router (`/v1/chat/completions`, `model:provider`). Both break `latest` replay, 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 - Re-recorded (deleted `latest/` and recorded fresh in `once` mode, 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 in `TestBatchesResultsSpans.test_batches_results_produces_span[sync]`. No Braintrust API pollution. - Also re-recorded `instructor/cassettes/1.11.0/…test_instructor_openai_retries_then_succeeds.yaml`, because the test's response model was renamed (below). - Kept as committed: every patch-bump provider (all replay on the new pins), and none recorded against a real org. ## SDK and test changes - **Python floor:** typesafe-sdk 0.7.6 requires Python ≥ 3.11. `test_typesafe(latest)` now has `min_python: 3.11` and calls `_skip_if_incompatible`; `pylint` on 3.10 skips installing typesafe and doesn't lint the typesafe integration (its tests use 0.7-only APIs). The CI sharder drops `test_typesafe(latest)` on 3.10; `test_typesafe(0.6.0)` still covers it. - **mistral tests:** mistralai 3.9 returns `usage.prompt_tokens_details` as a `PromptTokensDetails` model instead of a dict; the two assertions now accept either. The SDK already handled it. - **instructor retry test:** the tool name `ShoutedPerson` and the class docstring ("name must be upper-case") are sent as the tool schema, so the model sometimes answered `ADA` first and no retry happened. Renamed to `ExtractedPerson` and moved the explanation into a comment. ## Validation (local, replay-only with `CI=true`, no `BRAINTRUST_API_KEY`) - Full sweep of every `latest` session plus `test_openai_ddtrace`, `test_mcp_interop`, `test_core`, `test_braintrust_core` (pipecat and crewai on Python 3.13): all pass after the changes above. - Re-recorded sessions and the old pins of changed tests: `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. - `pylint` on Python 3.10 and 3.14, `make check-stale-cassettes`, `uv lock --check`, pre-commit: pass. - Pre-existing, not from this PR: `test_livekit_agents(latest)` on `main` had 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. --------- Co-authored-by: AbhiPrasad <18689448+AbhiPrasad@users.noreply.github.com> Co-authored-by: Abhijeet Prasad <abhijeet@braintrustdata.com>
1 parent 84cf59c commit 049b431

305 files changed

Lines changed: 8568 additions & 8433 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎py/nox_session_constraints.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
}
5757
},
5858
"test_fastmcp_slim": {"versions": {"latest": {"min_python": "3.11"}}},
59+
"test_typesafe": {"versions": {"latest": {"min_python": "3.11"}}}, # typesafe-sdk 0.7.6 requires 3.11
5960
}
6061

6162

‎py/noxfile.py‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -823,6 +823,7 @@ def test_mistral(session, version):
823823
@nox.parametrize("version", TYPESAFE_VERSIONS, ids=TYPESAFE_VERSIONS)
824824
def test_typesafe(session, version):
825825
"""Test the TypeSafe SDK integration."""
826+
_skip_if_incompatible(session)
826827
_install_test_deps(session)
827828
_install_matrix_dep(session, "typesafe-sdk", version)
828829
_run_tests(session, f"{INTEGRATION_DIR}/typesafe/test_typesafe.py", version=version)
@@ -1040,6 +1041,9 @@ def pylint(session):
10401041
"pipecat-ai": (3, 11),
10411042
"pydantic-ai-integration": (3, 11),
10421043
"transformers": (3, 11),
1044+
# typesafe-sdk 0.7.6 requires Python 3.11, and its tests use APIs older
1045+
# pins lack, so the integration is not linted on 3.10.
1046+
"typesafe-sdk": (3, 11),
10431047
}
10441048
# Latest pins that cannot install on newer Pythons yet (see the matching
10451049
# caps in nox_session_constraints.py), and the integration whose files
@@ -1075,6 +1079,8 @@ def pylint(session):
10751079
# pydantic-ai-slim is not installed on Python 3.10, so pylint
10761080
# cannot resolve imports in this integration or its example.
10771081
unlintable_integrations.add("pydantic_ai")
1082+
elif package == "typesafe-sdk":
1083+
unlintable_integrations.add("typesafe")
10781084
continue
10791085
max_python, integration = maximum_python_exclusive.get(package, (None, None))
10801086
if max_python and sys.version_info[:2] >= max_python:

‎py/pyproject.toml‎

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ explicit = true
420420
# ---------------------------------------------------------------------------
421421

422422
[tool.uv]
423-
exclude-newer = "2026-11-25T18:45:00Z"
423+
exclude-newer = "2026-11-30T06:01:43Z"
424424
conflicts = [
425425
# Groups that pin or transitively require conflicting openai versions.
426426
[
@@ -474,13 +474,13 @@ latest = "ai[openai]==0.10.1"
474474
"0.4.0" = "ai[openai]==0.4.0"
475475

476476
[tool.braintrust.matrix.openai]
477-
latest = "openai==3.57.0"
477+
latest = "openai==3.60.0"
478478
"1.92.0" = "openai==1.92.0"
479479
"1.77.0" = "openai==1.77.0"
480480
"1.71.0" = "openai==1.71.0"
481481

482482
[tool.braintrust.matrix.anthropic]
483-
latest = "anthropic==2.12.0"
483+
latest = "anthropic==2.14.0"
484484
"1.17.0" = "anthropic==1.17.0"
485485
"0.48.0" = "anthropic==0.48.0"
486486

@@ -489,14 +489,14 @@ latest = "cohere==7.3.2"
489489
"5.0.0" = "cohere==5.0.0"
490490

491491
[tool.braintrust.matrix.openai-agents]
492-
latest = "openai-agents==0.25.0"
492+
latest = "openai-agents==0.26.0"
493493
"0.13.6" = "openai-agents==0.13.6"
494494
"0.0.19" = "openai-agents==0.0.19"
495495

496496
[tool.braintrust.matrix.litellm]
497497
# 1.92.0 only publishes Linux wheels through CPython 3.13, but the test
498498
# matrix also covers Windows and CPython 3.14.
499-
latest = "litellm==1.110.2"
499+
latest = "litellm==1.111.1"
500500
"1.74.0" = "litellm==1.74.0"
501501

502502
[tool.braintrust.matrix.livekit-agents]
@@ -516,26 +516,26 @@ latest = "mcp==2.3.0"
516516
# Standalone FastMCP. 2.x and 3.x run on mcp 1.x; 4.x runs on mcp 2.x. Since
517517
# 3.4 the implementation ships in fastmcp-slim and fastmcp only pins it.
518518
[tool.braintrust.matrix.fastmcp]
519-
latest = "fastmcp==4.2.4"
519+
latest = "fastmcp==4.2.6"
520520
"4.0.0" = "fastmcp==4.0.0"
521521
"3.4.11" = "fastmcp==3.4.11"
522522
"3.0.0" = "fastmcp==3.0.0"
523523
"2.14.7" = "fastmcp==2.14.7"
524524

525525
[tool.braintrust.matrix.fastmcp-slim]
526-
latest = "fastmcp-slim[client,server]==4.2.4"
526+
latest = "fastmcp-slim[client,server]==4.2.6"
527527
"3.4.11" = "fastmcp-slim[client,server]==3.4.11"
528528

529529
[tool.braintrust.matrix.claude-agent-sdk]
530-
latest = "claude-agent-sdk==0.2.187"
530+
latest = "claude-agent-sdk==0.2.189"
531531
# The integration still supports >=0.1.10, but 0.1.9-0.1.17 were deleted from
532532
# PyPI, so 0.1.18 is the oldest installable version we can test against.
533533
"0.1.18" = "claude-agent-sdk==0.1.18"
534534

535535
[tool.braintrust.matrix.cursor-sdk]
536536
# 1.0.25 fixes bridge callback tokens that could be parsed as CLI flags while
537537
# retaining per-turn usage, sync/async consumption, multimodal, and custom tools.
538-
latest = "cursor-sdk==1.4.2"
538+
latest = "cursor-sdk==1.5.2"
539539
"1.0.25" = "cursor-sdk==1.0.25"
540540

541541
[tool.braintrust.matrix.google-antigravity]
@@ -560,26 +560,26 @@ latest = "autogen-ext[openai]==0.7.5"
560560
"0.7.0" = "autogen-ext[openai]==0.7.0"
561561

562562
[tool.braintrust.matrix.strands-agents]
563-
latest = "strands-agents==1.65.0"
563+
latest = "strands-agents==1.68.0"
564564
"1.20.0" = "strands-agents==1.20.0"
565565

566566
[tool.braintrust.matrix.pydantic-ai-integration]
567-
latest = "pydantic-ai==2.75.0"
567+
latest = "pydantic-ai==2.77.0"
568568
"1.107.9" = "pydantic-ai==1.107.9"
569569

570570
[tool.braintrust.matrix.pydantic-ai-harness]
571-
latest = "pydantic-ai-harness==0.75.0"
571+
latest = "pydantic-ai-harness==0.77.0"
572572

573573
[tool.braintrust.matrix.pydantic-ai-wrap-openai]
574-
latest = "pydantic-ai==2.75.0"
574+
latest = "pydantic-ai==2.77.0"
575575
"1.107.9" = "pydantic-ai==1.107.9"
576576

577577
[tool.braintrust.matrix.autoevals]
578-
latest = "autoevals==0.5.0"
578+
latest = "autoevals==0.6.0"
579579
"0.0.129" = "autoevals==0.0.129"
580580

581581
[tool.braintrust.matrix.instructor]
582-
latest = "instructor==1.17.0"
582+
latest = "instructor==1.18.0"
583583
"1.11.0" = "instructor==1.11.0"
584584

585585
[tool.braintrust.matrix.google-genai]
@@ -595,40 +595,40 @@ latest = "dspy==3.5.0"
595595
"2.6.0" = "dspy==2.6.0"
596596

597597
[tool.braintrust.matrix.deepagents]
598-
latest = "deepagents==0.7.41"
598+
latest = "deepagents==0.7.43"
599599
"0.6.0" = "deepagents==0.6.0"
600600

601601
[tool.braintrust.matrix.crewai]
602602
# 1.13.0 is the first release with the full causal-id surface (event_id /
603603
# parent_event_id / started_event_id on BaseEvent) plus the ``usage`` field on
604604
# LLMCallCompletedEvent that the Braintrust CrewAI integration depends on.
605-
latest = "crewai==1.15.44"
605+
latest = "crewai==1.15.45"
606606
"1.13.0" = "crewai==1.13.0"
607607

608608
[tool.braintrust.matrix.google-adk]
609-
latest = "google-adk[mcp]==2.15.0"
609+
latest = "google-adk[mcp]==2.15.1"
610610
"2.6.3" = "google-adk[mcp]==2.6.3"
611611
"1.14.1" = "google-adk[mcp]==1.14.1"
612612

613613
[tool.braintrust.matrix.langchain-core]
614-
latest = "langchain-core==1.8.4"
614+
latest = "langchain-core==1.8.5"
615615
"0.3.28" = "langchain-core==0.3.28"
616616

617617
[tool.braintrust.matrix.llama-index-core]
618618
latest = "llama-index-core==0.14.26"
619619
"0.13.0" = "llama-index-core==0.13.0"
620620

621621
[tool.braintrust.matrix.openrouter]
622-
latest = "openrouter==1.3.204"
622+
latest = "openrouter==1.3.213"
623623
"0.6.0" = "openrouter==0.6.0"
624624

625625
[tool.braintrust.matrix.mistralai]
626-
latest = "mistralai==3.8.0"
626+
latest = "mistralai==3.9.0"
627627
"2.10.1" = "mistralai==2.10.1"
628628
"1.12.4" = "mistralai==1.12.4"
629629

630630
[tool.braintrust.matrix.typesafe-sdk]
631-
latest = "typesafe-sdk==0.7.5"
631+
latest = "typesafe-sdk==0.7.6"
632632
"0.6.0" = "typesafe-sdk==0.6.0"
633633

634634
[tool.braintrust.matrix.huggingface-hub]
@@ -640,11 +640,11 @@ latest = "huggingface-hub==2.4.0"
640640
"0.32.0" = "huggingface-hub==0.32.0"
641641

642642
[tool.braintrust.matrix.transformers]
643-
latest = "transformers==5.24.0"
643+
latest = "transformers==5.24.1"
644644
"4.42.0" = "transformers==4.42.0"
645645

646646
[tool.braintrust.matrix.temporalio]
647-
latest = "temporalio==1.36.1"
647+
latest = "temporalio==1.37.0"
648648
"1.20.0" = "temporalio==1.20.0"
649649
"1.19.0" = "temporalio==1.19.0"
650650

@@ -666,7 +666,7 @@ latest = "pytest==9.2.0"
666666
latest = "braintrust-core==0.0.59"
667667

668668
[tool.braintrust.matrix.boto3]
669-
latest = "boto3==1.44.9"
669+
latest = "boto3==1.44.14"
670670
"1.34.116" = "boto3==1.34.116"
671671

672672
[tool.braintrust.matrix.aiobotocore]
@@ -682,7 +682,7 @@ latest = "botocore==1.43.117" # no-auto-update
682682
"2.13.1" = "botocore==1.34.116"
683683

684684
[tool.braintrust.matrix.botocore]
685-
latest = "botocore==1.44.9"
685+
latest = "botocore==1.44.14"
686686
"1.34.116" = "botocore==1.34.116"
687687

688688
# OpenTelemetry api/sdk/exporter release in lockstep; keep their keys in sync.

‎py/src/braintrust/integrations/anthropic/cassettes/latest/TestBatchesCreateSpans.test_async_batches_create_produces_span.yaml‎

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎py/src/braintrust/integrations/anthropic/cassettes/latest/TestBatchesCreateSpans.test_sync_batches_create_logs_error_on_failure.yaml‎

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎py/src/braintrust/integrations/anthropic/cassettes/latest/TestBatchesCreateSpans.test_sync_batches_create_multi_model_metadata.yaml‎

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)