chore: generated SDK types#78
Merged
Abhijeet Prasad (AbhiPrasad) merged 1 commit intoMar 13, 2026
Merged
Conversation
Abhijeet Prasad (AbhiPrasad)
approved these changes
Mar 13, 2026
starfolkai Bot
pushed a commit
that referenced
this pull request
May 11, 2026
Fixes Dependabot alert #78 (GHSA pytest tmpdir handling). The base `test` dependency group pinned `pytest==9.0.2` while `[tool.braintrust.matrix.pytest-matrix].latest` already pinned `9.0.3`; the two were born divergent in #300 and could drift again because the matrix table doesn't participate in `uv lock`. Make `[dependency-groups].test` the single source of truth for the pytest pin and have the noxfile derive `test_pytest_plugin(latest)` from it via a small `_BASE_GROUP_FALLBACKS` set. `test_pytest_plugin(latest)` still runs; the matrix table only carries deliberate older overrides (`8.4.2`). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Abhijeet Prasad (AbhiPrasad)
pushed a commit
that referenced
this pull request
May 11, 2026
## Summary - Fixes Dependabot alert [#78](https://github.com/braintrustdata/braintrust-sdk-python/security/dependabot/78) (pytest tmpdir handling) by bumping the base `test` dependency group from `pytest==9.0.2` → `pytest==9.0.3`. - Removes the duplicated `latest = "pytest==9.0.3"` from `[tool.braintrust.matrix.pytest-matrix]` and derives `test_pytest_plugin(latest)` from `[dependency-groups].test` via a new `_BASE_GROUP_FALLBACKS` set in `py/noxfile.py`. The pin can't drift again because the matrix table doesn't participate in `uv lock`, but the dependency group does. - `test_pytest_plugin(latest)` and `test_pytest_plugin(8.4.2)` both still enumerate; only the duplicate version string is gone. ## Why was this drift possible? The two pins were introduced divergent in #300. The weekly `uv lock --upgrade` workflow only refreshes `[dependency-groups]`; matrix-table strings are managed separately, so they drift. ## Test plan - [x] `nox -l | grep test_pytest_plugin` shows both `(latest)` and `(8.4.2)`. - [x] `uv lock --check` clean; `uv.lock` resolves `pytest` to `9.0.3`. - [x] `scripts/check-stale-cassettes.py` still passes. - [ ] CI: full sharded `nox` matrix + `static_checks`. - [ ] `nox -s "test_pytest_plugin(latest)"` locally. - [ ] `nox -s "test_pytest_plugin(8.4.2)"` locally. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Starfolk <noreply@starfolk.ai> Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated regeneration of SDK types.