Commit 2f2b2f8
chore(deps): bump pytest to 9.0.3 and fold pytest-matrix latest (#413)
## 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>1 parent 0316e65 commit 2f2b2f8
5 files changed
Lines changed: 116 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
30 | 36 | | |
31 | 37 | | |
32 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
36 | 39 | | |
37 | 40 | | |
38 | 41 | | |
| |||
75 | 78 | | |
76 | 79 | | |
77 | 80 | | |
| 81 | + | |
78 | 82 | | |
79 | 83 | | |
80 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| |||
388 | 388 | | |
389 | 389 | | |
390 | 390 | | |
| 391 | + | |
| 392 | + | |
391 | 393 | | |
392 | 394 | | |
393 | 395 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments