Skip to content

chore: generated SDK types#78

Merged
Abhijeet Prasad (AbhiPrasad) merged 1 commit into
mainfrom
chore/regenerate-sdk-python-types
Mar 13, 2026
Merged

chore: generated SDK types#78
Abhijeet Prasad (AbhiPrasad) merged 1 commit into
mainfrom
chore/regenerate-sdk-python-types

Conversation

@braintrust-bot
Copy link
Copy Markdown
Contributor

Automated regeneration of SDK types.

@AbhiPrasad Abhijeet Prasad (AbhiPrasad) merged commit 49ab839 into main Mar 13, 2026
34 checks passed
@AbhiPrasad Abhijeet Prasad (AbhiPrasad) deleted the chore/regenerate-sdk-python-types branch March 13, 2026 15:12
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant