Files
codex/codex-rs
bencodes-oai 8b5223dd7b Use Bazel's Python runtime for MCP permission hook tests (#62061)
## Why

MCP permission hook tests need a Python interpreter on workers without a system Python installation.

## What changed

- Include Bazel's Python interpreter and runtime files in core test dependencies, and allow file labels in `runfile_env`.
- Run permission hook scripts directly with `CARGO_BIN_EXE_python3`, falling back to the platform's Python command when unset.
- Use script bootstrapping so Python launchers start with their declared interpreter on lean workers.

## Testing

Add 15-second timeouts to two permission hook approval tests so they fail if approval waits for a reviewer instead of resolving through the hook.

GitOrigin-RevId: 2877be1411b47806a0eccf2838b521a732e2c98a
2026-11-17 15:10:58 +00:00
..
…
…
…
…