Uh oh!
There was an error while loading. Please reload this page.
chore(deps): weekly dependency update - #719
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit:344933d2bc
ℹ️ 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".
| [tool.braintrust.matrix.ai-sdk] | ||
| latest = "ai[openai]==0.4.2" | ||
| latest = "ai[openai]==0.5.0" |
There was a problem hiding this comment.
Re-record cassettes for bumped provider SDKs
This commit changes only the pins and lockfile, so the affected latest nox sessions continue loading recordings created with the previous SDK versions from cassettes/latest/. This leaves major/minor upgrades such as ai 0.4→0.5 and agno 2→3 exercising stale provider traffic, which can either fail playback when request matching changes or pass without covering the new wire behavior. Re-record and commit every affected latest cassette directory before merging.
AGENTS.md reference: AGENTS.md:L194-L199
Useful? React with 👍 / 👎.
google-genai 2.20.0 restricted ``Models.generate_images`` to Vertex AI
("Gemini Enterprise Agent Platform") mode. On the Developer API (API-key)
path it now raises ValueError client-side before issuing a request:
ValueError: This method is only supported in Gemini Enterprise Agent
Platform mode, not in Gemini Developer API mode.
Because no HTTP request is made, this cannot be fixed by re-recording the
cassettes. Gate the two affected tests behind a version check so they keep
running against the 1.75.0 and 1.30.0 matrix entries and skip on latest.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>Re-records the `latest` cassettes for the provider SDKs that moved by a
minor version in this update: ai-sdk 0.4.2 -> 0.5.0, openai 3.3.1 -> 3.6.0,
anthropic 1.0.0 -> 1.2.0, cohere 7.0.9 -> 7.1.0, pipecat-ai 1.7.0 -> 1.8.1,
strands-agents 1.53.0 -> 1.54.0, pydantic-ai 2.33.0 -> 2.36.0 and
google-adk 2.7.1 -> 2.8.0.
Shared cassette directories were deleted once and then re-recorded by every
session that writes into them, serially:
integrations/openai/cassettes/latest test_openai, test_openai_http2_streaming, test_btx_openai
integrations/pydantic_ai/cassettes/latest test_pydantic_ai_{integration,logfire,wrap_openai}
The diffs are dominated by fresh request ids, timestamps, fingerprints and
obfuscation nonces; the substantive change is the bumped client version in
the recorded request headers.
instructor is intentionally not re-recorded: test_instructor.py pins a dummy
`sk-test-...` key, so its tests are playback-only and --vcr-record=all just
earns a 401.
Validated by replaying every affected session with CI=1 so a missing
cassette fails instead of silently re-recording.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>…e re-recorded ``_make_openai_client`` hard-coded ``sk-test-dummy-api-key-for-vcr-tests``, which is the same value ``conftest.py`` already injects via ``os.environ.setdefault``. Hard-coding it defeated that escape hatch: with ``--vcr-record=all`` the request is forwarded to the real API and comes back 401, so the cassettes could never be refreshed after a dependency bump. Use ``openai.OpenAI()`` and let it read the environment, matching ``test_openai.py``. Playback with no key configured still works because the conftest default applies, and ``filter_headers`` strips ``authorization`` before a cassette is written (verified: no key material in the cassettes). Two of the three cassettes are re-recorded here against instructor 1.16.0 / openai 3.6.0. The third belongs to ``test_instructor_openai_retries_then_succeeds`` and is hand-authored -- its first interaction omits ``age`` to force a validation retry, which no live model will do on request -- so it is preserved and now carries a docstring warning against re-recording. Also drops cassettes/latest/test_instructor_openai_single_success.yaml, an orphan from before that test moved into ``TestInstructorOpenAISpans``; the live cassette is the class-prefixed file and nothing referenced the old name. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Uh oh!
There was an error while loading. Please reload this page.
Automated weekly dependency update via
python scripts/update-matrix-latest.py && uv lock --upgrade.