Repository navigation
Commit 049b431
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
- py
- src/braintrust/integrations
- anthropic/cassettes/latest
- cursor_sdk/cassettes/latest
- dspy/cassettes/latest
- instructor
- cassettes
- 1.11.0
- latest
- litellm/cassettes/latest
- mistral
- cassettes/latest
- openai_agents/cassettes/latest
- openai/cassettes/latest
- btx
- pydantic_ai
- cassettes/latest
- harness/cassettes/latest
- strands/cassettes/latest
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
823 | 823 | | |
824 | 824 | | |
825 | 825 | | |
| 826 | + | |
826 | 827 | | |
827 | 828 | | |
828 | 829 | | |
| |||
1040 | 1041 | | |
1041 | 1042 | | |
1042 | 1043 | | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
1043 | 1047 | | |
1044 | 1048 | | |
1045 | 1049 | | |
| |||
1075 | 1079 | | |
1076 | 1080 | | |
1077 | 1081 | | |
| 1082 | + | |
| 1083 | + | |
1078 | 1084 | | |
1079 | 1085 | | |
1080 | 1086 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
423 | | - | |
| 423 | + | |
424 | 424 | | |
425 | 425 | | |
426 | 426 | | |
| |||
474 | 474 | | |
475 | 475 | | |
476 | 476 | | |
477 | | - | |
| 477 | + | |
478 | 478 | | |
479 | 479 | | |
480 | 480 | | |
481 | 481 | | |
482 | 482 | | |
483 | | - | |
| 483 | + | |
484 | 484 | | |
485 | 485 | | |
486 | 486 | | |
| |||
489 | 489 | | |
490 | 490 | | |
491 | 491 | | |
492 | | - | |
| 492 | + | |
493 | 493 | | |
494 | 494 | | |
495 | 495 | | |
496 | 496 | | |
497 | 497 | | |
498 | 498 | | |
499 | | - | |
| 499 | + | |
500 | 500 | | |
501 | 501 | | |
502 | 502 | | |
| |||
516 | 516 | | |
517 | 517 | | |
518 | 518 | | |
519 | | - | |
| 519 | + | |
520 | 520 | | |
521 | 521 | | |
522 | 522 | | |
523 | 523 | | |
524 | 524 | | |
525 | 525 | | |
526 | | - | |
| 526 | + | |
527 | 527 | | |
528 | 528 | | |
529 | 529 | | |
530 | | - | |
| 530 | + | |
531 | 531 | | |
532 | 532 | | |
533 | 533 | | |
534 | 534 | | |
535 | 535 | | |
536 | 536 | | |
537 | 537 | | |
538 | | - | |
| 538 | + | |
539 | 539 | | |
540 | 540 | | |
541 | 541 | | |
| |||
560 | 560 | | |
561 | 561 | | |
562 | 562 | | |
563 | | - | |
| 563 | + | |
564 | 564 | | |
565 | 565 | | |
566 | 566 | | |
567 | | - | |
| 567 | + | |
568 | 568 | | |
569 | 569 | | |
570 | 570 | | |
571 | | - | |
| 571 | + | |
572 | 572 | | |
573 | 573 | | |
574 | | - | |
| 574 | + | |
575 | 575 | | |
576 | 576 | | |
577 | 577 | | |
578 | | - | |
| 578 | + | |
579 | 579 | | |
580 | 580 | | |
581 | 581 | | |
582 | | - | |
| 582 | + | |
583 | 583 | | |
584 | 584 | | |
585 | 585 | | |
| |||
595 | 595 | | |
596 | 596 | | |
597 | 597 | | |
598 | | - | |
| 598 | + | |
599 | 599 | | |
600 | 600 | | |
601 | 601 | | |
602 | 602 | | |
603 | 603 | | |
604 | 604 | | |
605 | | - | |
| 605 | + | |
606 | 606 | | |
607 | 607 | | |
608 | 608 | | |
609 | | - | |
| 609 | + | |
610 | 610 | | |
611 | 611 | | |
612 | 612 | | |
613 | 613 | | |
614 | | - | |
| 614 | + | |
615 | 615 | | |
616 | 616 | | |
617 | 617 | | |
618 | 618 | | |
619 | 619 | | |
620 | 620 | | |
621 | 621 | | |
622 | | - | |
| 622 | + | |
623 | 623 | | |
624 | 624 | | |
625 | 625 | | |
626 | | - | |
| 626 | + | |
627 | 627 | | |
628 | 628 | | |
629 | 629 | | |
630 | 630 | | |
631 | | - | |
| 631 | + | |
632 | 632 | | |
633 | 633 | | |
634 | 634 | | |
| |||
640 | 640 | | |
641 | 641 | | |
642 | 642 | | |
643 | | - | |
| 643 | + | |
644 | 644 | | |
645 | 645 | | |
646 | 646 | | |
647 | | - | |
| 647 | + | |
648 | 648 | | |
649 | 649 | | |
650 | 650 | | |
| |||
666 | 666 | | |
667 | 667 | | |
668 | 668 | | |
669 | | - | |
| 669 | + | |
670 | 670 | | |
671 | 671 | | |
672 | 672 | | |
| |||
682 | 682 | | |
683 | 683 | | |
684 | 684 | | |
685 | | - | |
| 685 | + | |
686 | 686 | | |
687 | 687 | | |
688 | 688 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments